Download OpenAPI specification:Download
An API for accessing indexed data from the Oasis Network.
limit | integer <uint64> [ 1 .. 1000 ] Default: 100 The maximum numbers of items to return. |
offset | integer <uint64> Default: 0 The number of items to skip before starting to collect the result set. |
from | integer <int64> Example: from=8048956 A filter on minimum block height, inclusive. |
to | integer <int64> Example: to=8049555 A filter on maximum block height, inclusive. |
after | string <date-time> Example: after=2022-03-01T00:00:00Z A filter on minimum block time, inclusive. |
before | string <date-time> Example: before=2019-04-01T00:00:00Z A filter on maximum block time, exclusive. |
hash | string Example: hash=0a29ac21fa69bb9e43e5cb25d10826ff3946f1ce977e82f99a2614206a50765c A filter on the block hash. |
{- "total_count": 412,
- "is_total_count_clipped": true,
- "blocks": [
- {
- "height": 8048956,
- "hash": "0a29ac21fa69bb9e43e5cb25d10826ff3946f1ce977e82f99a2614206a50765c",
- "timestamp": "2022-03-01T00:00:00Z",
- "num_transactions": 17,
- "gas_limit": "1234567890123456789012",
- "size_limit": "1234567890123456789012",
- "epoch": 13402,
- "state_root": "8e39bf193f8a954ab8f8d7cb6388c591fd0785ea060bbd8e3752e266b54499d3"
}
]
}
height required | integer <int64> Example: 8048956 The block height of the block to return. |
{- "height": 8048956,
- "hash": "0a29ac21fa69bb9e43e5cb25d10826ff3946f1ce977e82f99a2614206a50765c",
- "timestamp": "2022-03-01T00:00:00Z",
- "num_transactions": 17,
- "gas_limit": "1234567890123456789012",
- "size_limit": "1234567890123456789012",
- "epoch": 13402,
- "state_root": "8e39bf193f8a954ab8f8d7cb6388c591fd0785ea060bbd8e3752e266b54499d3"
}
limit | integer <uint64> [ 1 .. 1000 ] Default: 100 The maximum numbers of items to return. |
offset | integer <uint64> Default: 0 The number of items to skip before starting to collect the result set. |
block | integer <int64> Example: block=8048956 A filter on block height. |
method | string Enum: "beacon.PVSSCommit" "beacon.PVSSReveal" "beacon.VRFProve" "consensus.Meta" "governance.CastVote" "governance.SubmitProposal" "keymanager.PublishEphemeralSecret" "keymanager.PublishMasterSecret" "keymanager.UpdatePolicy" "registry.DeregisterEntity" "registry.ProveFreshness" "registry.RegisterEntity" "registry.RegisterNode" "registry.RegisterRuntime" "registry.UnfreezeNode" "roothash.Evidence" "roothash.ExecutorCommit" "roothash.ExecutorProposerTimeout" "roothash.SubmitMsg" "staking.AddEscrow" "staking.Allow" "staking.AmendCommissionSchedule" "staking.Burn" "staking.ReclaimEscrow" "staking.Transfer" "staking.Withdraw" "keymanager/churp.Apply" "keymanager/churp.Confirm" "keymanager/churp.Create" "keymanager/churp.Update" "vault.AuthorizeAction" "vault.CancelAction" "vault.Create" Example: method=staking.Transfer A filter on transaction method. |
sender | string^oasis1[a-z0-9]{40}$ Example: sender=oasis1qpg2xuz46g53737343r20yxeddhlvc2ldqsjh70p A filter on transaction sender. |
rel | string Example: rel=oasis1qpg2xuz46g53737343r20yxeddhlvc2ldqsjh70p A filter on related accounts. |
after | string <date-time> Example: after=2022-03-01T00:00:00Z A filter on minimum transaction time, inclusive. |
before | string <date-time> Example: before=2019-04-01T00:00:00Z A filter on maximum transaction time, exclusive. |
{- "total_count": 412,
- "is_total_count_clipped": true,
- "transactions": [
- {
- "block": 8048956,
- "index": 17,
- "timestamp": "2022-10-15T00:05:34Z",
- "hash": "0d0531d6b8a468c07440182b1cdda517f5a076d69fb2199126a83082ecfc0f41",
- "sender": "oasis1qpg2xuz46g53737343r20yxeddhlvc2ldqsjh70p",
- "nonce": 0,
- "fee": 1000,
- "gas_limit": "1234567890123456789012",
- "method": "staking.Transfer",
- "body": "{\"amount\":\"1000000000\",\"account\":\"oasis1qpg2xuz46g53737343r20yxeddhlvc2ldqsjh70p\"}",
- "success": true,
- "error": {
- "module": "string",
- "code": 0,
- "message": "string",
- "revert_params": [
- {
- "name": "string",
- "evm_type": "string",
- "value": null
}
]
}
}
]
}
tx_hash required | string Example: 0d0531d6b8a468c07440182b1cdda517f5a076d69fb2199126a83082ecfc0f41 The transaction hash of the transaction to return. |
{- "block": 8048956,
- "index": 17,
- "timestamp": "2022-10-15T00:05:34Z",
- "hash": "0d0531d6b8a468c07440182b1cdda517f5a076d69fb2199126a83082ecfc0f41",
- "sender": "oasis1qpg2xuz46g53737343r20yxeddhlvc2ldqsjh70p",
- "nonce": 0,
- "fee": 1000,
- "gas_limit": "1234567890123456789012",
- "method": "staking.Transfer",
- "body": "{\"amount\":\"1000000000\",\"account\":\"oasis1qpg2xuz46g53737343r20yxeddhlvc2ldqsjh70p\"}",
- "success": true,
- "error": {
- "module": "string",
- "code": 0,
- "message": "string",
- "revert_params": [
- {
- "name": "string",
- "evm_type": "string",
- "value": null
}
]
}
}
limit | integer <uint64> [ 1 .. 1000 ] Default: 100 The maximum numbers of items to return. |
offset | integer <uint64> Default: 0 The number of items to skip before starting to collect the result set. |
block | integer <int64> Example: block=8048956 A filter on block height. |
tx_index | integer <int32> Example: tx_index=3 A filter on transaction index. The returned events all need to originate
from a transaction that appeared in |
tx_hash | string Example: tx_hash=0d0531d6b8a468c07440182b1cdda517f5a076d69fb2199126a83082ecfc0f41 A filter on the hash of the transaction that originated the events.
Specifying |
rel | string^oasis1[a-z0-9]{40}$ Example: rel=oasis1qpg2xuz46g53737343r20yxeddhlvc2ldqsjh70p A filter on related accounts. Every returned event will refer to
this account. For example, for a |
type | string Enum: "governance.proposal_executed" "governance.proposal_finalized" "governance.proposal_submitted" "governance.vote" "registry.entity" "registry.node_unfrozen" "registry.node" "registry.runtime" "registry.runtime_suspended" "roothash.execution_discrepancy" "roothash.executor_committed" "roothash.finalized" "roothash.message" "roothash.in_msg_processed" "staking.allowance_change" "staking.burn" "staking.escrow.add" "staking.escrow.debonding_start" "staking.escrow.reclaim" "staking.escrow.take" "staking.transfer" Example: type=staking.escrow.take A filter on the event type. |
{- "total_count": 412,
- "is_total_count_clipped": true,
- "events": [
- {
- "block": 8048956,
- "tx_index": 5,
- "tx_hash": "0d0531d6b8a468c07440182b1cdda517f5a076d69fb2199126a83082ecfc0f41",
- "roothash_runtime_id": "000000000000000000000000000000000000000000000000e2eaa99fc008f87f",
- "roothash_runtime": "emerald",
- "roothash_runtime_round": 0,
- "type": "staking.escrow.take",
- "body": { }
}
]
}
limit | integer <uint64> [ 1 .. 1000 ] Default: 100 The maximum numbers of items to return. |
offset | integer <uint64> Default: 0 The number of items to skip before starting to collect the result set. |
runtime required | string Enum: "emerald" "sapphire" "pontusxtest" "pontusxdev" "cipher" |
round | integer <int64> |
type | string Enum: "staking.transfer" "staking.withdraw" "staking.add_escrow" "staking.reclaim_escrow" "registry.update_runtime" "governance.cast_vote" "governance.submit_proposal" Example: type=staking.transfer |
rel | string^oasis1[a-z0-9]{40}$ Example: rel=oasis1qpg2xuz46g53737343r20yxeddhlvc2ldqsjh70p An Oasis-style (bech32) address. |
{- "total_count": 412,
- "is_total_count_clipped": true,
- "roothash_messages": [
- {
- "runtime": "sapphire",
- "round": 1357490,
- "index": 0,
- "type": "staking.withdraw",
- "body": {
- "from": "oasis1qqzjq6lqjf8d07ehhvu5ytc47dck8w7a6qgn7efh",
- "amount": "500000000"
}, - "error_module": "staking",
- "error_code": 3,
- "result": {
- "owner": "oasis1qqzjq6lqjf8d07ehhvu5ytc47dck8w7a6qgn7efh",
- "beneficiary": "oasis1qrd3mnzhhgst26hsp96uf45yhq6zlax0cuzdgcfc",
- "allowance": "97000000000",
- "amount_change": "500000000"
}
}
]
}
limit | integer <uint64> [ 1 .. 1000 ] Default: 100 The maximum numbers of items to return. |
offset | integer <uint64> Default: 0 The number of items to skip before starting to collect the result set. |
{- "total_count": 412,
- "is_total_count_clipped": true,
- "entities": [
- {
- "id": "gb8SHLeDc69Elk7OTfqhtVgE2sqxrBCDQI84xKR+Bjg=",
- "address": "oasis1qpg2xuz46g53737343r20yxeddhlvc2ldqsjh70p",
- "nodes": [
- "string"
]
}
]
}
address required | string^oasis1[a-z0-9]{40}$ Example: oasis1qpg2xuz46g53737343r20yxeddhlvc2ldqsjh70p The address of the entity to return. |
{- "id": "gb8SHLeDc69Elk7OTfqhtVgE2sqxrBCDQI84xKR+Bjg=",
- "address": "oasis1qpg2xuz46g53737343r20yxeddhlvc2ldqsjh70p",
- "nodes": [
- "string"
]
}
address required | string^oasis1[a-z0-9]{40}$ Example: oasis1qpg2xuz46g53737343r20yxeddhlvc2ldqsjh70p The address of the controlling entity of the nodes to return. |
limit | integer <uint64> [ 1 .. 1000 ] Default: 100 The maximum numbers of items to return. |
offset | integer <uint64> Default: 0 The number of items to skip before starting to collect the result set. |
{- "total_count": 412,
- "is_total_count_clipped": true,
- "entity_id": "string",
- "nodes": [
- {
- "id": "lbxs4hlud9XNloIOdhJPaCahd7HtiY8QATCgGnFfCM0=",
- "entity_id": "gb8SHLeDc69Elk7OTfqhtVgE2sqxrBCDQI84xKR+Bjg=",
- "expiration": 0,
- "tls_pubkey": "string",
- "tls_next_pubkey": "string",
- "p2p_pubkey": "string",
- "consensus_pubkey": "string",
- "roles": "string"
}
]
}
address required | string^oasis1[a-z0-9]{40}$ Example: oasis1qpg2xuz46g53737343r20yxeddhlvc2ldqsjh70p The entity ID of the entity controlling the node to return. |
node_id required | string <byte> Example: lbxs4hlud9XNloIOdhJPaCahd7HtiY8QATCgGnFfCM0= The node ID of the node to return. |
{- "id": "lbxs4hlud9XNloIOdhJPaCahd7HtiY8QATCgGnFfCM0=",
- "entity_id": "gb8SHLeDc69Elk7OTfqhtVgE2sqxrBCDQI84xKR+Bjg=",
- "expiration": 0,
- "tls_pubkey": "string",
- "tls_next_pubkey": "string",
- "p2p_pubkey": "string",
- "consensus_pubkey": "string",
- "roles": "string"
}
limit | integer <uint64> [ 1 .. 1000 ] Default: 100 The maximum numbers of items to return. |
offset | integer <uint64> Default: 0 The number of items to skip before starting to collect the result set. |
name | string A filter on the validator name. Every returned validator will have a name that is a superstring of the input param. |
{- "total_count": 412,
- "is_total_count_clipped": true,
- "validators": [
- {
- "entity_address": "oasis1qpg2xuz46g53737343r20yxeddhlvc2ldqsjh70p",
- "entity_id": "gb8SHLeDc69Elk7OTfqhtVgE2sqxrBCDQI84xKR+Bjg=",
- "node_id": "lbxs4hlud9XNloIOdhJPaCahd7HtiY8QATCgGnFfCM0=",
- "escrow": {
- "active_balance": "1234567890123456789012",
- "active_shares": "1234567890123456789012",
- "debonding_balance": "1234567890123456789012",
- "debonding_shares": "1234567890123456789012",
- "self_delegation_balance": "1234567890123456789012",
- "self_delegation_shares": "1234567890123456789012",
- "active_balance_24": "1234567890123456789012",
- "num_delegators": 0
}, - "voting_power": 0,
- "voting_power_cumulative": 0,
- "active": true,
- "start_date": "2022-10-15T00:05:34Z",
- "rank": 0,
- "in_validator_set": true,
- "media": "{\"email\":\"[email protected]\",\"keybase\":\"validator_keybase\",\"name\":\"Example Validator\",\"twitter\":\"validator_twitter\",\"url\":\"https://example.com\",\"logoUrl\": \"https://example.com/logo.png\"}",
- "current_rate": 0,
- "current_commission_bound": {
- "lower": 0,
- "upper": 0,
- "epoch_start": 0,
- "epoch_end": 0
}
}
], - "stats": {
- "total_voting_power": 0,
- "total_delegators": 0,
- "total_staked_balance": "1234567890123456789012"
}
}
address required | string^oasis1[a-z0-9]{40}$ Example: oasis1qpg2xuz46g53737343r20yxeddhlvc2ldqsjh70p The address of the entity to return. |
{- "total_count": 412,
- "is_total_count_clipped": true,
- "validators": [
- {
- "entity_address": "oasis1qpg2xuz46g53737343r20yxeddhlvc2ldqsjh70p",
- "entity_id": "gb8SHLeDc69Elk7OTfqhtVgE2sqxrBCDQI84xKR+Bjg=",
- "node_id": "lbxs4hlud9XNloIOdhJPaCahd7HtiY8QATCgGnFfCM0=",
- "escrow": {
- "active_balance": "1234567890123456789012",
- "active_shares": "1234567890123456789012",
- "debonding_balance": "1234567890123456789012",
- "debonding_shares": "1234567890123456789012",
- "self_delegation_balance": "1234567890123456789012",
- "self_delegation_shares": "1234567890123456789012",
- "active_balance_24": "1234567890123456789012",
- "num_delegators": 0
}, - "voting_power": 0,
- "voting_power_cumulative": 0,
- "active": true,
- "start_date": "2022-10-15T00:05:34Z",
- "rank": 0,
- "in_validator_set": true,
- "media": "{\"email\":\"[email protected]\",\"keybase\":\"validator_keybase\",\"name\":\"Example Validator\",\"twitter\":\"validator_twitter\",\"url\":\"https://example.com\",\"logoUrl\": \"https://example.com/logo.png\"}",
- "current_rate": 0,
- "current_commission_bound": {
- "lower": 0,
- "upper": 0,
- "epoch_start": 0,
- "epoch_end": 0
}
}
], - "stats": {
- "total_voting_power": 0,
- "total_delegators": 0,
- "total_staked_balance": "1234567890123456789012"
}
}
address required | string^oasis1[a-z0-9]{40}$ Example: oasis1qpg2xuz46g53737343r20yxeddhlvc2ldqsjh70p The address of the entity to return. |
limit | integer <uint64> [ 1 .. 1000 ] Default: 100 The maximum numbers of items to return. |
offset | integer <uint64> Default: 0 The number of items to skip before starting to collect the result set. |
from | integer <int64> Example: from=13402 A filter on minimum epoch number, inclusive. |
to | integer <int64> Example: to=13403 A filter on maximum epoch number, inclusive. |
{- "total_count": 412,
- "is_total_count_clipped": true,
- "address": "oasis1qpg2xuz46g53737343r20yxeddhlvc2ldqsjh70p",
- "history": [
- {
- "epoch": 13402,
- "active_balance": "1234567890123456789012",
- "active_shares": "1234567890123456789012",
- "debonding_balance": "1234567890123456789012",
- "debonding_shares": "1234567890123456789012",
- "num_delegators": 0
}
]
}
limit | integer <uint64> [ 1 .. 1000 ] Default: 100 The maximum numbers of items to return. |
offset | integer <uint64> Default: 0 The number of items to skip before starting to collect the result set. |
{- "total_count": 412,
- "is_total_count_clipped": true,
- "accounts": [
- {
- "address": "oasis1qpg2xuz46g53737343r20yxeddhlvc2ldqsjh70p",
- "nonce": 0,
- "available": "1234567890123456789012",
- "escrow": "1234567890123456789012",
- "debonding": "1234567890123456789012",
- "delegations_balance": 10000000000,
- "debonding_delegations_balance": 10000000000,
- "first_activity": "2022-03-01T00:00:00Z",
- "allowances": [
- {
- "address": "oasis1qprtzrg97jk0wxnqkhxwyzy5qys47r7alvfl3fcg",
- "amount": "1234567890123456789012"
}
], - "stats": {
- "total_sent": "1234567890123456789012",
- "total_received": "1234567890123456789012",
- "num_txns": 4184
}
}
]
}
address required | string^oasis1[a-z0-9]{40}$ Example: oasis1qpg2xuz46g53737343r20yxeddhlvc2ldqsjh70p The staking address of the account to return. |
{- "address": "oasis1qpg2xuz46g53737343r20yxeddhlvc2ldqsjh70p",
- "nonce": 0,
- "available": "1234567890123456789012",
- "escrow": "1234567890123456789012",
- "debonding": "1234567890123456789012",
- "delegations_balance": 10000000000,
- "debonding_delegations_balance": 10000000000,
- "first_activity": "2022-03-01T00:00:00Z",
- "allowances": [
- {
- "address": "oasis1qprtzrg97jk0wxnqkhxwyzy5qys47r7alvfl3fcg",
- "amount": "1234567890123456789012"
}
], - "stats": {
- "total_sent": "1234567890123456789012",
- "total_received": "1234567890123456789012",
- "num_txns": 4184
}
}
address required | string^oasis1[a-z0-9]{40}$ Example: oasis1qpg2xuz46g53737343r20yxeddhlvc2ldqsjh70p The staking address of the account that delegated. |
limit | integer <uint64> [ 1 .. 1000 ] Default: 100 The maximum numbers of items to return. |
offset | integer <uint64> Default: 0 The number of items to skip before starting to collect the result set. |
{- "total_count": 412,
- "is_total_count_clipped": true,
- "delegations": [
- {
- "amount": "1234567890123456789012",
- "shares": "1234567890123456789012",
- "validator": "oasis1qpg2xuz46g53737343r20yxeddhlvc2ldqsjh70p",
- "delegator": "oasis1qprtzrg97jk0wxnqkhxwyzy5qys47r7alvfl3fcg"
}
]
}
address required | string^oasis1[a-z0-9]{40}$ Example: oasis1qpg2xuz46g53737343r20yxeddhlvc2ldqsjh70p The staking address of the account that is being delegated to. |
limit | integer <uint64> [ 1 .. 1000 ] Default: 100 The maximum numbers of items to return. |
offset | integer <uint64> Default: 0 The number of items to skip before starting to collect the result set. |
{- "total_count": 412,
- "is_total_count_clipped": true,
- "delegations": [
- {
- "amount": "1234567890123456789012",
- "shares": "1234567890123456789012",
- "validator": "oasis1qpg2xuz46g53737343r20yxeddhlvc2ldqsjh70p",
- "delegator": "oasis1qprtzrg97jk0wxnqkhxwyzy5qys47r7alvfl3fcg"
}
]
}
address required | string^oasis1[a-z0-9]{40}$ Example: oasis1qpg2xuz46g53737343r20yxeddhlvc2ldqsjh70p The staking address of the account that delegated. |
limit | integer <uint64> [ 1 .. 1000 ] Default: 100 The maximum numbers of items to return. |
offset | integer <uint64> Default: 0 The number of items to skip before starting to collect the result set. |
{- "total_count": 412,
- "is_total_count_clipped": true,
- "debonding_delegations": [
- {
- "amount": "1234567890123456789012",
- "shares": "1234567890123456789012",
- "validator": "oasis1qpg2xuz46g53737343r20yxeddhlvc2ldqsjh70p",
- "delegator": "oasis1qprtzrg97jk0wxnqkhxwyzy5qys47r7alvfl3fcg",
- "debond_end": 0
}
]
}
address required | string^oasis1[a-z0-9]{40}$ Example: oasis1qpg2xuz46g53737343r20yxeddhlvc2ldqsjh70p The staking address of the that is being delegated to. |
limit | integer <uint64> [ 1 .. 1000 ] Default: 100 The maximum numbers of items to return. |
offset | integer <uint64> Default: 0 The number of items to skip before starting to collect the result set. |
{- "total_count": 412,
- "is_total_count_clipped": true,
- "debonding_delegations": [
- {
- "amount": "1234567890123456789012",
- "shares": "1234567890123456789012",
- "validator": "oasis1qpg2xuz46g53737343r20yxeddhlvc2ldqsjh70p",
- "delegator": "oasis1qprtzrg97jk0wxnqkhxwyzy5qys47r7alvfl3fcg",
- "debond_end": 0
}
]
}
limit | integer <uint64> [ 1 .. 1000 ] Default: 100 The maximum numbers of items to return. |
offset | integer <uint64> Default: 0 The number of items to skip before starting to collect the result set. |
{- "total_count": 412,
- "is_total_count_clipped": true,
- "epochs": [
- {
- "id": 13402,
- "start_height": 8048956,
- "end_height": 8049555
}
]
}
limit | integer <uint64> [ 1 .. 1000 ] Default: 100 The maximum numbers of items to return. |
offset | integer <uint64> Default: 0 The number of items to skip before starting to collect the result set. |
submitter | string^oasis1[a-z0-9]{40}$ Example: submitter=oasis1qpg2xuz46g53737343r20yxeddhlvc2ldqsjh70p Filter on the submitter of the proposal. |
state | string Enum: "active" "passed" "failed" "rejected" Example: state=active Filter on the state of the proposal. |
{- "total_count": 412,
- "is_total_count_clipped": true,
- "proposals": [
- {
- "id": 1,
- "submitter": "oasis1qpg2xuz46g53737343r20yxeddhlvc2ldqsjh70p",
- "state": "active",
- "deposit": "1234567890123456789012",
- "title": "string",
- "description": "string",
- "handler": "string",
- "target": {
- "consensus_protocol": "string",
- "runtime_host_protocol": "string",
- "runtime_committee_protocol": "string"
}, - "epoch": 13402,
- "cancels": 0,
- "parameters_change_module": "string",
- "parameters_change": "{\"min_validators\":null,\"max_validators\":\"120\",\"voting_power_distribution\":null}",
- "created_at": 13402,
- "closes_at": 13403,
- "invalid_votes": "1234567890123456789012"
}
]
}
proposal_id required | integer <uint64> Example: 1 The unique identifier of the proposal to return. |
{- "id": 1,
- "submitter": "oasis1qpg2xuz46g53737343r20yxeddhlvc2ldqsjh70p",
- "state": "active",
- "deposit": "1234567890123456789012",
- "title": "string",
- "description": "string",
- "handler": "string",
- "target": {
- "consensus_protocol": "string",
- "runtime_host_protocol": "string",
- "runtime_committee_protocol": "string"
}, - "epoch": 13402,
- "cancels": 0,
- "parameters_change_module": "string",
- "parameters_change": "{\"min_validators\":null,\"max_validators\":\"120\",\"voting_power_distribution\":null}",
- "created_at": 13402,
- "closes_at": 13403,
- "invalid_votes": "1234567890123456789012"
}
proposal_id required | integer <uint64> Example: 1 The unique identifier of the proposal for which votes are returned. |
limit | integer <uint64> [ 1 .. 1000 ] Default: 100 The maximum numbers of items to return. |
offset | integer <uint64> Default: 0 The number of items to skip before starting to collect the result set. |
{- "total_count": 412,
- "is_total_count_clipped": true,
- "proposal_id": 0,
- "votes": [
- {
- "address": "oasis1qpg2xuz46g53737343r20yxeddhlvc2ldqsjh70p",
- "vote": "yes",
- "height": 8048956,
- "timestamp": "2022-03-01T00:00:00Z"
}
]
}
runtime required | string Enum: "emerald" "sapphire" "pontusxtest" "pontusxdev" "cipher" The runtime which to query. |
limit | integer <uint64> [ 1 .. 1000 ] Default: 100 The maximum numbers of items to return. |
offset | integer <uint64> Default: 0 The number of items to skip before starting to collect the result set. |
from | integer <int64> Example: from=8048956 A filter on minimum block height, inclusive. |
to | integer <int64> Example: to=8049555 A filter on maximum block height, inclusive. |
after | string <date-time> Example: after=2022-03-01T00:00:00Z A filter on minimum block time, inclusive. |
before | string <date-time> Example: before=2019-04-01T00:00:00Z A filter on maximum block time, exclusive. |
hash | string Example: hash=0a29ac21fa69bb9e43e5cb25d10826ff3946f1ce977e82f99a2614206a50765c A filter on the block hash. |
{- "total_count": 412,
- "is_total_count_clipped": true,
- "blocks": [
- {
- "round": 3283246,
- "hash": "21c243cd34bedfc234f1b45615d10a868f0655f59578f063a7d2fc8c6e5b4009",
- "timestamp": "2022-10-15T00:05:34Z",
- "num_transactions": 1,
- "size": 203,
- "gas_used": 118597
}
]
}
runtime required | string Enum: "emerald" "sapphire" "pontusxtest" "pontusxdev" "cipher" The runtime which to query. |
limit | integer <uint64> [ 1 .. 1000 ] Default: 100 The maximum numbers of items to return. |
offset | integer <uint64> Default: 0 The number of items to skip before starting to collect the result set. |
block | integer <int64> Example: block=3283246 A filter on block round. |
after | string <date-time> Example: after=2022-03-01T00:00:00Z A filter on minimum transaction time, inclusive. |
before | string <date-time> Example: before=2019-04-01T00:00:00Z A filter on maximum transaction time, exclusive. |
rel | string^oasis1[a-z0-9]{40}$|^(0x)?[0-9a-fA-F]{40}$ Examples:
A filter on related accounts. Every returned transaction will refer to
this account in a way. For example, for an |
{- "total_count": 412,
- "is_total_count_clipped": true,
- "transactions": [
- {
- "round": 3379702,
- "index": 0,
- "timestamp": "2022-10-15T00:05:34Z",
- "hash": "8394f682150e5f62b02f197d16b4769d032cb1c1b7a6dcf853ba1b12626e080b",
- "eth_hash": "9e6a5837c6366d4a7e477c71ffe32d40915cdef7ef209792259e5ee70caf2705",
- "sender_0": "oasis1qz670t637yyxshnlxhjj5074wgwl94d0x5x69zqd",
- "sender_0_eth": 1.2367698861069356e+48,
- "nonce_0": 114194,
- "fee": "3000000000000000",
- "fee_symbol": "string",
- "fee_proxy_module": "string",
- "fee_proxy_id": "string",
- "gas_limit": 30000,
- "gas_used": 0,
- "charged_fee": "string",
- "size": 0,
- "method": "evm.Call",
- "body": {
- "address": "t1mAPucIdVnrYBpJOcLV2nZoOFo=",
- "data": "RBo+cAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=\"",
- "value": ""
}, - "is_likely_native_token_transfer": true,
- "to": "oasis1qq6ulxmcagnp5nr56ylva7nhmwnxtf0krumg9dkq",
- "to_eth": 1.2367698861069356e+48,
- "amount": "100000001666393459",
- "amount_symbol": "ROSE",
- "encryption_envelope": {
- "format": "encrypted/x25519-deoxysii",
- "public_key": "string",
- "data_nonce": "string",
- "data": "string",
- "result_nonce": "string",
- "result": "string"
}, - "success": true,
- "evm_fn_name": "acceptTaskResults",
- "evm_fn_params": [
- {
- "name": "string",
- "evm_type": "string",
- "value": null
}
], - "error": {
- "module": "string",
- "code": 0,
- "message": "string",
- "revert_params": [
- {
- "name": "string",
- "evm_type": "string",
- "value": null
}
]
}
}
]
}
runtime required | string Enum: "emerald" "sapphire" "pontusxtest" "pontusxdev" "cipher" The runtime which to query. |
tx_hash required | string Example: 0d0531d6b8a468c07440182b1cdda517f5a076d69fb2199126a83082ecfc0f41 The transaction hash of the transaction(s) to return. This can be an Ethereum transaction hash; the query will compare against both a transaction's regular tx_hash and eth_tx_hash (if it exists). This endpoint can return multiple transactions in extremely rare cases, e.g. when a hash matches multiple Oasis runtime transactions or both an Oasis runtime transaction and the eth_tx_hash of an evm-transaction. |
{- "total_count": 412,
- "is_total_count_clipped": true,
- "transactions": [
- {
- "round": 3379702,
- "index": 0,
- "timestamp": "2022-10-15T00:05:34Z",
- "hash": "8394f682150e5f62b02f197d16b4769d032cb1c1b7a6dcf853ba1b12626e080b",
- "eth_hash": "9e6a5837c6366d4a7e477c71ffe32d40915cdef7ef209792259e5ee70caf2705",
- "sender_0": "oasis1qz670t637yyxshnlxhjj5074wgwl94d0x5x69zqd",
- "sender_0_eth": 1.2367698861069356e+48,
- "nonce_0": 114194,
- "fee": "3000000000000000",
- "fee_symbol": "string",
- "fee_proxy_module": "string",
- "fee_proxy_id": "string",
- "gas_limit": 30000,
- "gas_used": 0,
- "charged_fee": "string",
- "size": 0,
- "method": "evm.Call",
- "body": {
- "address": "t1mAPucIdVnrYBpJOcLV2nZoOFo=",
- "data": "RBo+cAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=\"",
- "value": ""
}, - "is_likely_native_token_transfer": true,
- "to": "oasis1qq6ulxmcagnp5nr56ylva7nhmwnxtf0krumg9dkq",
- "to_eth": 1.2367698861069356e+48,
- "amount": "100000001666393459",
- "amount_symbol": "ROSE",
- "encryption_envelope": {
- "format": "encrypted/x25519-deoxysii",
- "public_key": "string",
- "data_nonce": "string",
- "data": "string",
- "result_nonce": "string",
- "result": "string"
}, - "success": true,
- "evm_fn_name": "acceptTaskResults",
- "evm_fn_params": [
- {
- "name": "string",
- "evm_type": "string",
- "value": null
}
], - "error": {
- "module": "string",
- "code": 0,
- "message": "string",
- "revert_params": [
- {
- "name": "string",
- "evm_type": "string",
- "value": null
}
]
}
}
]
}
runtime required | string Enum: "emerald" "sapphire" "pontusxtest" "pontusxdev" "cipher" The runtime which to query. |
limit | integer <uint64> [ 1 .. 1000 ] Default: 100 The maximum numbers of items to return. |
offset | integer <uint64> Default: 0 The number of items to skip before starting to collect the result set. |
block | integer <int64> Example: block=3283246 A filter on block round. |
tx_index | integer <int32> Example: tx_index=3 A filter on transaction index. The returned events all need to originate
from a transaction that appeared in |
tx_hash | string Example: tx_hash=0d0531d6b8a468c07440182b1cdda517f5a076d69fb2199126a83082ecfc0f41 A filter on the hash of the transaction that originated the events.
Specifying |
type | string Enum: "accounts.transfer" "accounts.burn" "accounts.mint" "consensus_accounts.deposit" "consensus_accounts.withdraw" "consensus_accounts.delegate" "consensus_accounts.undelegate_start" "consensus_accounts.undelegate_done" "core.gas_used" "evm.log" Example: type=consensus_accounts.deposit A filter on the event type. |
rel | string^oasis1[a-z0-9]{40}$|^(0x)?[0-9a-fA-F]{40}$ Examples:
A filter on related accounts. Every returned event will refer to
this account. For example, for a |
evm_log_signature | string Example: evm_log_signature=0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef A filter on the evm log signatures. Note: The filter will only match on parsed (verified) EVM events. |
contract_address | string^oasis1[a-z0-9]{40}$|^(0x)?[0-9a-fA-F]{40}$ Examples:
A filter on a smart contract. Every returned event will have been emitted by the contract at this address. |
nft_id | string Example: nft_id=999 A filter on NFT events. Every returned event will be specifically about this NFT instance ID. You must specify the contract_address filter with this filter. Currently this only supports ERC-721 Transfer events. This may expand to support other event types in the future. If you want only ERC-721 Transfer events, specify evm_log_signature=ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef to avoid inadvertently getting other event types if they are supported later. Using an evm_log_signature filter with this set to any other value will match no events. |
{- "total_count": 412,
- "is_total_count_clipped": true,
- "events": [
- {
- "round": 3283246,
- "tx_index": 0,
- "tx_hash": "0d0531d6b8a468c07440182b1cdda517f5a076d69fb2199126a83082ecfc0f41",
- "eth_tx_hash": "string",
- "timestamp": "2022-03-01T00:00:00Z",
- "type": "consensus_accounts.deposit",
- "body": { },
- "evm_log_name": "Transfer",
- "evm_log_params": [
- {
- "name": "string",
- "evm_type": "string",
- "value": null
}
], - "evm_token": {
- "type": "ERC20",
- "symbol": "USDT",
- "decimals": 18
}
}
]
}
runtime required | string Enum: "emerald" "sapphire" "pontusxtest" "pontusxdev" "cipher" The runtime which to query. |
limit | integer <uint64> [ 1 .. 1000 ] Default: 100 The maximum numbers of items to return. |
offset | integer <uint64> Default: 0 The number of items to skip before starting to collect the result set. |
name | string A filter on the name, the name or symbol must contain this value as a substring. |
{- "total_count": 412,
- "is_total_count_clipped": true,
- "evm_tokens": [
- {
- "contract_addr": "oasis1qp2hssandc7dekjdr6ygmtzt783k3gn38uupdeys",
- "eth_contract_addr": 1.2367698861069356e+48,
- "name": "Uniswap",
- "symbol": "USDT",
- "decimals": 18,
- "type": "ERC20",
- "total_supply": "1234567890123456789012",
- "num_transfers": 0,
- "num_holders": 123,
- "is_verified": false,
- "verification_level": "partial"
}
]
}
runtime required | string Enum: "emerald" "sapphire" "pontusxtest" "pontusxdev" "cipher" The runtime which to query. |
address required | string^oasis1[a-z0-9]{40}$|^(0x)?[0-9a-fA-F]{40}$ Examples:
The staking address of the token contract. |
{- "contract_addr": "oasis1qp2hssandc7dekjdr6ygmtzt783k3gn38uupdeys",
- "eth_contract_addr": 1.2367698861069356e+48,
- "name": "Uniswap",
- "symbol": "USDT",
- "decimals": 18,
- "type": "ERC20",
- "total_supply": "1234567890123456789012",
- "num_transfers": 0,
- "num_holders": 123,
- "is_verified": false,
- "verification_level": "partial"
}
runtime required | string Enum: "emerald" "sapphire" "pontusxtest" "pontusxdev" "cipher" The runtime which to query. |
address required | string^oasis1[a-z0-9]{40}$|^(0x)?[0-9a-fA-F]{40}$ Examples:
The staking address of the token contract for which to return the holders. |
limit | integer <uint64> [ 1 .. 1000 ] Default: 100 The maximum numbers of items to return. |
offset | integer <uint64> Default: 0 The number of items to skip before starting to collect the result set. |
{- "total_count": 412,
- "is_total_count_clipped": true,
- "holders": [
- {
- "holder_address": "oasis1qpg2xuz46g53737343r20yxeddhlvc2ldqsjh70p",
- "eth_holder_address": 1.2367698861069356e+48,
- "balance": "1234567890123456789012"
}
]
}
runtime required | string Enum: "emerald" "sapphire" "pontusxtest" "pontusxdev" "cipher" The runtime which to query. |
address required | string^oasis1[a-z0-9]{40}$|^(0x)?[0-9a-fA-F]{40}$ Examples:
The staking address of the token contract for which to return the NFT instances. |
limit | integer <uint64> [ 1 .. 1000 ] Default: 100 The maximum numbers of items to return. |
offset | integer <uint64> Default: 0 The number of items to skip before starting to collect the result set. |
{- "total_count": 412,
- "is_total_count_clipped": true,
- "evm_nfts": [
- {
- "token": {
- "contract_addr": "oasis1qp2hssandc7dekjdr6ygmtzt783k3gn38uupdeys",
- "eth_contract_addr": 1.2367698861069356e+48,
- "name": "Uniswap",
- "symbol": "USDT",
- "decimals": 18,
- "type": "ERC20",
- "total_supply": "1234567890123456789012",
- "num_transfers": 0,
- "num_holders": 123,
- "is_verified": false,
- "verification_level": "partial"
}, - "id": "1234567890123456789012",
- "owner": "oasis1qpclnnm0wu44pn43mt6vv3me59kl8zk9ty7qyj03",
- "owner_eth": "0xDEF1009df2d6872C214cd9148c6883893B7c4D91",
- "num_transfers": 0,
- "metadata_uri": "string",
- "metadata_accessed": "string",
- "metadata": null,
- "name": "string",
- "description": "string",
- "image": "string"
}
]
}
runtime required | string Enum: "emerald" "sapphire" "pontusxtest" "pontusxdev" "cipher" The runtime which to query. |
address required | string^oasis1[a-z0-9]{40}$|^(0x)?[0-9a-fA-F]{40}$ Examples:
The staking address of the token contract of the NFT instance. |
id required | string <bigint> ^-?[0-9]+$ Example: 1234567890123456789012 The ID of the NFT instance. |
{- "token": {
- "contract_addr": "oasis1qp2hssandc7dekjdr6ygmtzt783k3gn38uupdeys",
- "eth_contract_addr": 1.2367698861069356e+48,
- "name": "Uniswap",
- "symbol": "USDT",
- "decimals": 18,
- "type": "ERC20",
- "total_supply": "1234567890123456789012",
- "num_transfers": 0,
- "num_holders": 123,
- "is_verified": false,
- "verification_level": "partial"
}, - "id": "1234567890123456789012",
- "owner": "oasis1qpclnnm0wu44pn43mt6vv3me59kl8zk9ty7qyj03",
- "owner_eth": "0xDEF1009df2d6872C214cd9148c6883893B7c4D91",
- "num_transfers": 0,
- "metadata_uri": "string",
- "metadata_accessed": "string",
- "metadata": null,
- "name": "string",
- "description": "string",
- "image": "string"
}
runtime required | string Enum: "emerald" "sapphire" "pontusxtest" "pontusxdev" "cipher" The runtime which to query. |
address required | string^oasis1[a-z0-9]{40}$|^(0x)?[0-9a-fA-F]{40}$ The staking address of the account to return. |
{- "address": "oasis1qpg2xuz46g53737343r20yxeddhlvc2ldqsjh70p",
- "address_preimage": {
- "context": "oasis-runtime-sdk/address: secp256k1eth",
- "context_version": 0,
- "address_data": "INLp2Ih3YIdcA+zFNhM+SIGyFgKsYYc9SKQeKRKe2uI="
}, - "balances": [
- {
- "balance": "1234567890123456789012",
- "token_symbol": "ROSE",
- "token_decimals": 18
}
], - "evm_contract": {
- "creation_tx": "string",
- "eth_creation_tx": "dc19a122e268128b5ee20366299fc7b5b199c8e3",
- "creation_bytecode": "string",
- "runtime_bytecode": "string",
- "gas_used": 153852,
- "verification": {
- "verification_level": "partial",
- "compilation_metadata": { },
- "source_files": [
- { }
]
}
}, - "evm_balances": [
- {
- "balance": "1234567890123456789012",
- "token_contract_addr": "oasis1qzk5pr2x8ah04lgjee3lv06fmyvqvz45egjv4ps0",
- "token_contract_addr_eth": "0xF8E3DE55D24D13607A12628E0A113B66BA578bDC",
- "token_symbol": "string",
- "token_name": "string",
- "token_type": "ERC20",
- "token_decimals": 18
}
], - "stats": {
- "total_sent": "1234567890123456789012",
- "total_received": "1234567890123456789012",
- "num_txns": 4184
}
}
runtime required | string Enum: "emerald" "sapphire" "pontusxtest" "pontusxdev" "cipher" The runtime which to query. |
address required | string^oasis1[a-z0-9]{40}$|^(0x)?[0-9a-fA-F]{40}$ Examples:
The staking address of the owner of the NFT instances. |
limit | integer <uint64> [ 1 .. 1000 ] Default: 100 The maximum numbers of items to return. |
offset | integer <uint64> Default: 0 The number of items to skip before starting to collect the result set. |
token_address | string^oasis1[a-z0-9]{40}$|^(0x)?[0-9a-fA-F]{40}$ Examples:
Only return NFT instances from the token contract at the given staking address. |
{- "total_count": 412,
- "is_total_count_clipped": true,
- "evm_nfts": [
- {
- "token": {
- "contract_addr": "oasis1qp2hssandc7dekjdr6ygmtzt783k3gn38uupdeys",
- "eth_contract_addr": 1.2367698861069356e+48,
- "name": "Uniswap",
- "symbol": "USDT",
- "decimals": 18,
- "type": "ERC20",
- "total_supply": "1234567890123456789012",
- "num_transfers": 0,
- "num_holders": 123,
- "is_verified": false,
- "verification_level": "partial"
}, - "id": "1234567890123456789012",
- "owner": "oasis1qpclnnm0wu44pn43mt6vv3me59kl8zk9ty7qyj03",
- "owner_eth": "0xDEF1009df2d6872C214cd9148c6883893B7c4D91",
- "num_transfers": 0,
- "metadata_uri": "string",
- "metadata_accessed": "string",
- "metadata": null,
- "name": "string",
- "description": "string",
- "image": "string"
}
]
}
runtime required | string Enum: "emerald" "sapphire" "pontusxtest" "pontusxdev" "cipher" The runtime which to query. |
{- "active_nodes": 42,
- "latest_block": 8048956,
- "latest_block_time": "2019-04-01T00:00:00Z",
- "latest_update_age_ms": 352
}
layer required | string Enum: "emerald" "sapphire" "pontusxtest" "pontusxdev" "cipher" "consensus" The layer for which to return the transaction volume timeline. |
limit | integer <uint64> [ 1 .. 1000 ] Default: 100 The maximum numbers of items to return. |
offset | integer <uint64> Default: 0 The number of items to skip before starting to collect the result set. |
window_size_seconds | integer <uint32> Default: 86400 The size of windows into which the statistic is grouped, in seconds. The backend supports a limited number of window sizes: 300 (5 minutes) and 86400 (1 day). Requests with other values may be rejected. |
window_step_seconds | integer <uint32> Default: 86400 The size of the step between returned statistic windows, in seconds. The backend supports a limited number of step sizes: 300 (5 minutes) and 86400 (1 day). Requests with other values may be rejected. |
{- "window_size_seconds": 0,
- "windows": [
- {
- "window_end": "2022-03-01T00:00:00Z",
- "tx_volume": 420
}
]
}
layer required | string Enum: "emerald" "sapphire" "pontusxtest" "pontusxdev" "cipher" "consensus" The layer for which to return the active accounts timeline. |
limit | integer <uint64> [ 1 .. 1000 ] Default: 100 The maximum numbers of items to return. |
offset | integer <uint64> Default: 0 The number of items to skip before starting to collect the result set. |
window_step_seconds | integer <uint32> Default: 86400 The size of the step between returned statistic windows, in seconds. The backend supports a limited number of step sizes: 300 (5 minutes) and 86400 (1 day). Requests with other values may be rejected. |
{- "window_size_seconds": 0,
- "windows": [
- {
- "window_end": "2022-03-01T00:00:00Z",
- "active_accounts": 420
}
]
}