Qubic Live API
Bridge service for Qubic network operations.
Bridge service for Qubic network operations.
Check account balances and transfer history.
Gets the balance of the specified identity.
GetBalanceResponse
Balance
curl 'https://rpc.qubic.org/live/v1/balances/{id}'
{
"balance": {
"id": "string",
"balance": "string",
"validForTick": 1,
"latestIncomingTransferTick": 1,
"latestOutgoingTransferTick": 1,
"incomingAmount": "string",
"outgoingAmount": "string",
"numberOfIncomingTransfers": 1,
"numberOfOutgoingTransfers": 1
}
}OK
Query and manage assets including issuances, ownerships, and possessions.
Returns a list of issued assets filtered by issuer identity and asset name.
AssetIssuances
AssetIssuance
curl https://rpc.qubic.org/live/v1/assets/issuances
{
"assets": [
{
"data": {
"issuerIdentity": "string",
"type": 1,
"name": "string",
"numberOfDecimalPlaces": 1,
"unitOfMeasurement": [
1
]
},
"tick": 1,
"universeIndex": 1
}
]
}OK
Returns an asset issuance by universe index.
AssetIssuance
AssetIssuanceData
curl https://rpc.qubic.org/live/v1/assets/issuances/1
{
"data": {
"issuerIdentity": "string",
"type": 1,
"name": "string",
"numberOfDecimalPlaces": 1,
"unitOfMeasurement": [
1
]
},
"tick": 1,
"universeIndex": 1
}OK
Returns a list of asset ownerships filtered by issuer, asset name, owner and managing contract.
Identity of the issuer. Defaults to the zero address (smart contract shares).
Name of the asset (required).
Identity of the owner of the asset (optional).
Index of the contract that manages the ownership (optional).
AssetOwnerships
AssetOwnership
curl https://rpc.qubic.org/live/v1/assets/ownerships
{
"assets": [
{
"data": {
"ownerIdentity": "string",
"type": 1,
"managingContractIndex": 1,
"issuanceIndex": 1,
"numberOfUnits": "string"
},
"tick": 1,
"universeIndex": 1
}
]
}OK
Returns an asset ownership by universe index.
AssetOwnership
AssetOwnershipData
curl https://rpc.qubic.org/live/v1/assets/ownerships/1
{
"data": {
"ownerIdentity": "string",
"type": 1,
"managingContractIndex": 1,
"issuanceIndex": 1,
"numberOfUnits": "string"
},
"tick": 1,
"universeIndex": 1
}OK
Returns a list of asset possessions filtered by issuer, asset name, owner, possessor and managing contracts.
Identity of the issuer (required). Defaults to the zero address (smart contract shares).
Name of the asset (required).
Identity of the owner of the asset (optional).
Identity of the possessor of the asset (optional).
Index of the contract that manages the ownership (optional).
Index of the contract that manages the possession (optional).
AssetPossessions
AssetPossession
curl https://rpc.qubic.org/live/v1/assets/possessions
{
"assets": [
{
"data": {
"possessorIdentity": "string",
"type": 1,
"managingContractIndex": 1,
"ownershipIndex": 1,
"numberOfUnits": "string"
},
"tick": 1,
"universeIndex": 1
}
]
}OK
Returns an asset possession by universe index.
AssetPossession
AssetPossessionData
curl https://rpc.qubic.org/live/v1/assets/possessions/1
{
"data": {
"possessorIdentity": "string",
"type": 1,
"managingContractIndex": 1,
"ownershipIndex": 1,
"numberOfUnits": "string"
},
"tick": 1,
"universeIndex": 1
}OK
Gets assets issued by the specified identity.
IssuedAssetsResponse
IssuedAsset
curl 'https://rpc.qubic.org/live/v1/assets/{identity}/issued'
{
"issuedAssets": [
{
"data": {
"issuerIdentity": "string",
"type": 1,
"name": "string",
"numberOfDecimalPlaces": 1,
"unitOfMeasurement": [
1
]
},
"info": {
"tick": 1,
"universeIndex": 1
}
}
]
}OK
Gets assets that are owned by the specified identity.
OwnedAssetsResponse
OwnedAsset
curl 'https://rpc.qubic.org/live/v1/assets/{identity}/owned'
{
"ownedAssets": [
{
"data": {
"ownerIdentity": "string",
"type": 1,
"padding": 1,
"managingContractIndex": 1,
"issuanceIndex": 1,
"numberOfUnits": "string",
"issuedAsset": {
"issuerIdentity": "string",
"type": 1,
"name": "string",
"numberOfDecimalPlaces": 1,
"unitOfMeasurement": [
1
]
}
},
"info": {
"tick": 1,
"universeIndex": 1
}
}
]
}OK
Gets assets that are possessed by the specified identity.
PossessedAssetsResponse
PossessedAsset
curl 'https://rpc.qubic.org/live/v1/assets/{identity}/possessed'
{
"possessedAssets": [
{
"data": {
"possessorIdentity": "string",
"type": 1,
"padding": 1,
"managingContractIndex": 1,
"issuanceIndex": 1,
"numberOfUnits": "string",
"ownedAsset": {
"ownerIdentity": "string",
"type": 1,
"padding": 1,
"managingContractIndex": 1,
"issuanceIndex": 1,
"numberOfUnits": "string",
"issuedAsset": {
"issuerIdentity": "string",
"type": 1,
"name": "string",
"numberOfDecimalPlaces": 1,
"unitOfMeasurement": [
1
]
}
}
},
"info": {
"tick": 1,
"universeIndex": 1
}
}
]
}OK
Network status and tick information.
Deprecated: use /tick-info instead.
GetBlockHeightResponse
TickInfo
curl https://rpc.qubic.org/live/v1/block-height
{
"blockHeight": {
"tick": 1,
"duration": 1,
"epoch": 1,
"initialTick": 1
}
}OK
Gets the current tick information.
GetTickInfoResponse
TickInfo
curl https://rpc.qubic.org/live/v1/tick-info
{
"tickInfo": {
"tick": 1,
"duration": 1,
"epoch": 1,
"initialTick": 1
}
}OK
Query smart contracts and view active IPOs.
Returns a list of IPOs that are active in the current epoch.
GetActiveIposResponse
IPO
curl https://rpc.qubic.org/live/v1/ipos/active
{
"ipos": [
{
"contractIndex": 1,
"assetName": "string"
}
]
}OK
Queries a smart contract function.
QuerySmartContractRequest
identifies the smart contract
the size of the input data (request data)
identifies the function to be queried
base64 encoded input data
QuerySmartContractResponse
Binary data encoded as Base64. This data is returned directly from the called SC function.
curl https://rpc.qubic.org/live/v1/querySmartContract \
--request POST \
--header 'Content-Type: application/json' \
--data '{
"contractIndex": 1,
"inputType": 1,
"inputSize": 1,
"requestData": ""
}'
{
"responseData": "string"
}OK
Broadcast transactions to the network.
Broadcasts a transaction to the network.
BroadcastTransactionRequest
Base64 encoded binary transaction data.
BroadcastTransactionResponse
The Base 64 encoded binary transaction from the request.
The number of Qubic node peers this transactions has been broadcast to.
The id / hash of the transaction.
curl https://rpc.qubic.org/live/v1/broadcast-transaction \
--request POST \
--header 'Content-Type: application/json' \
--data '{
"encodedTransaction": ""
}'
{
"peersBroadcasted": 1,
"encodedTransaction": "string",
"transactionId": "string"
}OK
| Enabled | Key | Value |
|---|
| Enabled | Key | Value |
|---|---|---|
| Enabled | Key | Value |
|---|---|---|
Accept | application/json | |
| Enabled | Key | Value |
|---|---|---|
issuerIdentity | ||
assetName | ||