Radix Core API - Babylon (Bottlenose)
vv1.2.0https://xrd.nownodes.io/corehttps://xrd-gateway.nownodes.ioAuthentication
api-keyAuthapiKeyAPI Key: api-key in header
Core
LTS
For long term support/backward compatible endpoints aimed at integrators such as exchanges.
Get Construction Metadata
Returns information necessary to build a transaction
Body
networkNetworkIdentifierrequiredThe logical name of the network
Response
All info needed to build a transaction
Server error
Authorization
api-keyAuthapiKey in headerSubmit Transaction
Submits a notarized transaction to the network. Returns whether the transaction submission was already included in the node's mempool.
Body
networkNetworkIdentifierrequiredThe logical name of the network
notarized_transaction_hexstringrequiredA hex-encoded, compiled notarized transaction.
force_recalculatebooleanIf true, the transaction validity is freshly recalculated without using any caches (defaults false)
Response
Transaction Submit Response
Client error
Server error
Authorization
api-keyAuthapiKey in headerGet Transaction Status
Shares the node's knowledge of any payloads associated with the given intent hash. Generally there will be a single payload for a given intent, but it's theoretically possible there may be multiple. This knowledge is summarised into a status for the intent. This summarised status in the response is likely sufficient for most clients.
Body
networkNetworkIdentifierrequiredThe logical name of the network
intent_hashIntentHashInputrequiredThe intent hash for a user transaction, also known as the transaction id. This hash identifies the core content "intent" of the transaction. Each intent can only be committed once. This hash gets signed by any signatories on the transaction, to create the signed intent. Either hex or Bech32m-encoded strings are supported.
Response
Transaction status response
Client error
Server error
Authorization
api-keyAuthapiKey in headerGet All Account Balances
Returns balances for all resources associated with an account
Body
networkNetworkIdentifierrequiredThe logical name of the network
account_addressstringrequiredThe Bech32m-encoded human readable version of the account's address
Response
Account all resource balances response
Server error
Authorization
api-keyAuthapiKey in headerGet Single Account Balance
Returns balance of a single fungible resource in an account
Body
networkNetworkIdentifierrequiredThe logical name of the network
account_addressstringrequiredThe Bech32m-encoded human readable version of the account's address
resource_addressResourceAddressrequiredThe Bech32m-encoded human readable version of the resource address
Response
Account resource balance response
Server error
Authorization
api-keyAuthapiKey in headerGet Account Deposit Behaviour
Returns deposit behaviour of a single account for multiple resource addresses
Body
networkNetworkIdentifierrequiredThe logical name of the network
account_addressstringrequiredThe Bech32m-encoded human readable version of the account's address.
resource_addressesArray<ResourceAddress>The resource addresses to check the deposit behaviours of.
badgePresentedBadgeThe depositor badge to check against the account's set of authorized depositors.
Response
Account deposit behaviour response
Server error
Authorization
api-keyAuthapiKey in headerGet Transaction Outcomes
Returns a list of committed transaction outcomes (containing balance changes) from a given state version.
Body
A request to retrieve a sublist of committed transactions from the ledger.
networkNetworkIdentifierrequiredThe logical name of the network
from_state_versionStateVersion<int64>[1, 100000000000000]requiredThe first (resultant) state version to be returned
limitintegerrequiredThe maximum number of transactions that will be returned.
Response
Paged response
Client error
Server error
Authorization
api-keyAuthapiKey in headerGet Account Transaction Outcomes
Returns a list of committed transaction outcomes (containing balance changes) from a given state version, filtered to only transactions which involved the given account.
Body
A request to retrieve a sublist of committed transactions from the ledger.
networkNetworkIdentifierrequiredThe logical name of the network
account_addressstringrequiredThe Bech32m-encoded human readable version of the account's address
from_state_versionStateVersion<int64>[1, 100000000000000]requiredThe first (resultant) state version to be returned
limitintegerrequiredThe maximum number of transactions that will be returned.
Response
Paged response
Client error
Server error
Authorization
api-keyAuthapiKey in headerStatus
For status and configuration details for the node / engine.
Get Network Configuration
Returns the network configuration of the network the node is connected to.
Response
Network Configuration
Server error
Authorization
api-keyAuthapiKey in headerGet Network Status
Returns the current state and status of the node's copy of the ledger.
Body
networkNetworkIdentifierrequiredThe logical name of the network
Response
Network Status
Server error
Authorization
api-keyAuthapiKey in headerGet Scenarios' results.
Get results of test "Scenarios" executed on this Network. Note: these Scenarios are meant to only be executed on test Networks; on a production Node, the response is expected to be empty.
Body
networkNetworkIdentifierrequiredThe logical name of the network
Response
Scenarios' results
Server error
Authorization
api-keyAuthapiKey in headerTransaction
For transaction construction, preview, submission, and monitoring the status of an individual transaction.
Parse Transaction Payload
Extracts the contents and hashes of various types of transaction payloads, or sub-payloads.
Body
networkNetworkIdentifierrequiredThe logical name of the network
payload_hexstringrequiredA hex-encoded payload of a full transaction or a partial transaction - either a notarized transaction, a signed transaction intent an unsigned transaction intent, or a ledger payload.
parse_modestringAnyNotarizedSignedUnsignedLedgerThe type of transaction payload that should be assumed. If omitted, "Any" is used - where the payload is attempted to be parsed as each of the following in turn: Notarized, Signed, Unsigned, Ledger.
validation_modestringNoneStaticFullThe type of validation that should be performed, if the payload correctly decompiles as a Notarized Transaction. This is only relevant for Notarized payloads. If omitted, "Static" is used.
response_modestringBasicFullThe amount of information to return in the response. "Basic" includes the type, validity information, and any relevant identifiers. "Full" also includes the fully parsed information. If omitted, "Full" is used.
transaction_format_optionsTransactionFormatOptionsRequested transaction formats to include in the response
Response
Transaction Parse Response
Client error
Server error
Authorization
api-keyAuthapiKey in headerTransaction Submit
Submits a notarized transaction to the network. Returns whether the transaction submission was already included in the node's mempool.
Body
networkNetworkIdentifierrequiredThe logical name of the network
notarized_transaction_hexstringrequiredA hex-encoded, compiled notarized transaction.
force_recalculatebooleanIf true, the transaction validity is freshly recalculated without using any caches (defaults false)
Response
Transaction Submit Response
Client error
Server error
Authorization
api-keyAuthapiKey in headerGet Transaction Status
Shares the node's knowledge of any payloads associated with the given intent hash. Generally there will be a single payload for a given intent, but it's theoretically possible there may be multiple. This knowledge is summarised into a status for the intent. This summarised status in the response is likely sufficient for most clients.
Body
networkNetworkIdentifierrequiredThe logical name of the network
intent_hashIntentHashInputrequiredThe intent hash for a user transaction, also known as the transaction id. This hash identifies the core content "intent" of the transaction. Each intent can only be committed once. This hash gets signed by any signatories on the transaction, to create the signed intent. Either hex or Bech32m-encoded strings are supported.
Response
Transaction status response
Client error
Server error
Authorization
api-keyAuthapiKey in headerGet Transaction Receipt
Gets the transaction receipt for a committed transaction.
Body
networkNetworkIdentifierrequiredThe logical name of the network
intent_hashIntentHashInputrequiredThe intent hash for a user transaction, also known as the transaction id. This hash identifies the core content "intent" of the transaction. Each intent can only be committed once. This hash gets signed by any signatories on the transaction, to create the signed intent. Either hex or Bech32m-encoded strings are supported.
transaction_format_optionsTransactionFormatOptionsRequested transaction formats to include in the response
Response
Committed transaction found response
Client error
Committed transaction not found response
Server error
Authorization
api-keyAuthapiKey in headerScrypto Call Preview
Preview a scrypto function or method call against the latest network state. Returns the result of the scrypto function or method call.
Body
networkNetworkIdentifierrequiredThe logical name of the network
at_ledger_stateLedgerStateSelectorAn optional specification of a historical ledger state at which to execute the request.
The "historical state" feature (see the db.historical_substate_values.enable flag) must be
enabled on the Node, and the requested point in history must be recent enough (in accordance
with the Node's configured state_hash_tree.state_version_history_length).
targetTargetIdentifierrequiredargumentsArray<string>requiredArgument list
Response
Result of the scrypto function call
Client error
Server error
Authorization
api-keyAuthapiKey in headerTransaction Preview
Preview a transaction against the latest network state, and returns the preview receipt.
Body
networkNetworkIdentifierrequiredThe logical name of the network
at_ledger_stateLedgerStateSelectorAn optional specification of a historical ledger state at which to execute the request.
The "historical state" feature (see the db.historical_substate_values.enable flag) must be
enabled on the Node, and the requested point in history must be recent enough (in accordance
with the Node's configured state_hash_tree.state_version_history_length).
manifeststringrequiredA text-representation of a transaction manifest
blobs_hexArray<string>An array of hex-encoded blob data (optional)
start_epoch_inclusiveinteger<int64>[0, 10000000000]requiredAn integer between 0 and 10^10, marking the epoch at which the transaction starts being valid
end_epoch_exclusiveinteger<int64>[0, 10000000000]requiredAn integer between 0 and 10^10, marking the epoch at which the transaction is no longer valid
notary_public_keyPublicKeyThe notary public key to use (optional)
notary_is_signatorybooleanWhether the notary should count as a signatory (optional, default false)
tip_percentageinteger<int32>[0, 65535]requiredAn integer between 0 and 65535, giving the validator tip as a percentage amount. A value of 1 corresponds to 1% of the fee.
nonceinteger<int64>[0, 4294967295]requiredAn integer between 0 and 2^32 - 1, chosen to allow a unique intent to be created (to enable submitting an otherwise identical/duplicate intent).
signer_public_keysArray<PublicKey>requiredA list of public keys to be used as transaction signers
messageTransactionMessageAn optional transaction message. Only affects the costing.
flagsobjectrequiredResponse
Transaction preview response
Client error
Server error
Authorization
api-keyAuthapiKey in headerMempool
For information on the contents of the node's mempool.
Get Mempool List
Returns the hashes of all the transactions currently in the mempool
Body
networkNetworkIdentifierrequiredThe logical name of the network
Response
Mempool List Response
Server error
Authorization
api-keyAuthapiKey in headerGet Mempool Transaction
Returns the payload of a transaction currently in the mempool
Body
networkNetworkIdentifierrequiredThe logical name of the network
payload_hashesArray<NotarizedTransactionHashInput>requiredA list of payload hashes to attempt to read. Each hash must be either hex, or in Bech32m format.
Response
Mempool Transaction Response
Not found error
Server error
Authorization
api-keyAuthapiKey in headerState
For reading the state of entities. At present, we only support reading details from the top of the currently committed ledger.
Get Consensus Manager Details
Reads the consensus manager's substate/s from the top of the current ledger.
Body
networkNetworkIdentifierrequiredThe logical name of the network
include_readiness_signalsbooleanWhether to include protocol update readiness signals of active validator set (default false).
Response
Current state response
Client error
Server error
Authorization
api-keyAuthapiKey in headerGet Account Details
Reads the account's substate/s from the top of the current ledger. Also returns all vaults under the account.
Body
networkNetworkIdentifierrequiredThe logical name of the network
account_addressstringrequiredThe Bech32m-encoded human readable version of the account's global address
Response
Current state response
Client error
Not found error
Server error
Authorization
api-keyAuthapiKey in headerGet Component Details
Reads the component's substate/s from the top of the current ledger. Also recursively extracts vault balance totals from the component's entity subtree.
Body
networkNetworkIdentifierrequiredThe logical name of the network
component_addressstringrequiredThe Bech32m-encoded human readable version of the component's global address
Response
Current state response
Client error
Not found error
Server error
Authorization
api-keyAuthapiKey in headerGet Validator Details
Reads the validator's substate/s from the top of the current ledger.
Body
networkNetworkIdentifierrequiredThe logical name of the network
validator_addressComponentAddressrequiredThe Bech32m-encoded human readable version of the component address
Response
Current state response
Client error
Not found error
Server error
Authorization
api-keyAuthapiKey in headerGet Access Controller Details
Reads the access controller's substate/s from the top of the current ledger.
Body
networkNetworkIdentifierrequiredThe logical name of the network
controller_addressComponentAddressrequiredThe Bech32m-encoded human readable version of the component address
Response
Current state response
Client error
Not found error
Server error
Authorization
api-keyAuthapiKey in headerGet Resource Details
Reads the resource manager's substate/s from the top of the current ledger.
Body
networkNetworkIdentifierrequiredThe logical name of the network
resource_addressstringrequiredThe Bech32m-encoded human readable version of the resource's global address
Response
Current state response
Client error
Not found error
Server error
Authorization
api-keyAuthapiKey in headerGet Non-Fungible Details
Reads the data associated with a single Non-Fungible Unit under a Non-Fungible Resource.
Body
networkNetworkIdentifierrequiredThe logical name of the network
resource_addressstringrequiredThe Bech32m-encoded human readable version of the resource's global address
non_fungible_idNonFungibleLocalIdSimpleRepresentationrequiredThe simple string representation of the non-fungible id.
- For string ids, this is
<the-string-id> - For integer ids, this is
#the-integer-id# - For bytes ids, this is
[the-lower-case-hex-representation] - For RUID ids, this is
{...-...-...-...}where...are each 16 hex characters. A given non-fungible resource has a fixedNonFungibleIdType, so this representation uniquely identifies this non-fungible under the given resource address.
Response
Current state response
Client error
Not found error
Server error
Authorization
api-keyAuthapiKey in headerGet Package Details
Reads the package's substate/s from the top of the current ledger.
Body
networkNetworkIdentifierrequiredThe logical name of the network
package_addressstringrequiredThe Bech32m-encoded human readable version of the package's global address
Response
Current state response
Client error
Not found error
Server error
Authorization
api-keyAuthapiKey in headerStream
To query the transaction or proof stream of the ledger.
Stream Proofs
Returns a stream of proofs committed to the node's ledger.
NOTE: This endpoint may return different results on different nodes:
- Each node may persist different subset of signatures on a given proofs, as long as enough of the validator set has signed.
- Inside an epoch, different nodes may receive and persist / keep different proofs, subject to constraints on gaps between proofs.
Proofs during an epoch can also be garbage collected by the node after the fact. Therefore proofs may disappear from this stream.
Some proofs (such as during genesis and protocol update enactment) are created on a node and don't include signatures.
This stream accepts four different options in the request:
- All proofs forward (from state version)
- All end-of-epoch proofs (from epoch number)
- All end-of-epoch proofs triggering a protocol update
- All node-injected proofs enacting genesis or a protocol update (for protocol update name, from state version)
The end-of-epoch proofs can be used to "trustlessly" verify the validator set for a given epoch. By tracking the fact that validators for epoch N sign the next validator set for epoch N + 1, this chain of proofs can be used to provide proof of the current validator set from a hardcoded start.
When a validator set is known for a given epoch, this can be used to verify the various transaction hash trees in the epoch, and to prove other data.
NOTE: This endpoint was built after agreeing the new Radix convention for paged APIs. Its models therefore follow the new convention, rather than attempting to align with existing loose Core API conventions.
Body
A request to retrieve a sublist of proofs.
networkNetworkIdentifierrequiredThe logical name of the network
filterStreamProofsFilterIf not provided, defaults to "Any".
max_page_sizeintegerIf specified, the maximum number of proofs that will be returned.
continuation_tokenContinuationTokenA continuation token is returned if and only if there are further non-empty pages of items currently available. The token can be provided in a following request to fetch the next page of results. The filter and sort should not be changed when re-using the continuation token.
Response
Stream proofs response
Client error
Server error
Authorization
api-keyAuthapiKey in headerGet Committed Transactions
Returns the list of committed transactions.
Body
A request to retrieve a sublist of committed transactions from the ledger.
networkNetworkIdentifierrequiredThe logical name of the network
from_state_versionStateVersion<int64>[1, 100000000000000]requiredThe first (resultant) state version to be returned
limitintegerrequiredThe maximum number of transactions that will be returned.
sbor_format_optionsSborFormatOptionsRequested SBOR formats to include in the response
transaction_format_optionsTransactionFormatOptionsRequested transaction formats to include in the response
substate_format_optionsSubstateFormatOptionsRequested substate formats to include in the response
include_proofsbooleanWhether to include LedgerProofs (default false)
Response
Committed transactions response
Client error
Server error
Authorization
api-keyAuthapiKey in headerGeteway
Status
For status and configuration details for the node / engine.
Get Gateway Status
Returns the Gateway API version and current ledger state.
Response
Network Gateway Information
Authorization
api-keyAuthapiKey in headerGet Network Configuration
Returns network identifier, network name and well-known network addresses.
Response
Network Configuration
Authorization
api-keyAuthapiKey in headerTransaction
For transaction construction, preview, submission, and monitoring the status of an individual transaction.
Get Construction Metadata
Returns information needed to construct a new transaction including current epoch number.
Response
Returns information needed to construct transaction.
Authorization
api-keyAuthapiKey in headerPreview Transaction
Previews transaction against the network.
This endpoint is effectively a proxy towards the Core API /v0/transaction/preview endpoint. See the Core API documentation for more details.
Body
manifeststringrequiredA text-representation of a transaction manifest
blobs_hexArray<string>An array of hex-encoded blob data (optional)
start_epoch_inclusiveinteger<int64>[0, 10000000000]requiredAn integer between 0 and 10^10, marking the epoch at which the transaction starts being valid
end_epoch_exclusiveinteger<int64>[0, 10000000000]requiredAn integer between 0 and 10^10, marking the epoch at which the transaction is no longer valid
notary_public_keyPublicKeyThe notary public key to use (optional)
notary_is_signatorybooleanWhether the notary should count as a signatory (optional, default false)
tip_percentageinteger<int32>[0, 65535]requiredAn integer between 0 and 65535, giving the validator tip as a percentage amount. A value of 1 corresponds to 1% of the fee.
nonceinteger<int64>>= 0requiredA decimal-string-encoded integer between 0 and 2^32 - 1, used to ensure the transaction intent is unique.
signer_public_keysArray<PublicKey>requiredA list of public keys to be used as transaction signers
flagsobjectrequiredResponse
Successful Preview
Client-originated request error
Authorization
api-keyAuthapiKey in headerSubmit Transaction
Submits a signed transaction payload to the network.
Body
notarized_transaction_hexNotarizedTransactionHexStringrequiredHex-encoded notarized transaction payload which can be submitted.
Response
Successful Submission
Client-originated request error
Authorization
api-keyAuthapiKey in headerGet Committed Transaction Details
Returns the committed details and receipt of the transaction for a given transaction identifier.
Transaction identifiers which don't correspond to a committed transaction will return a TransactionNotFoundError.
Body
defines upper boundary (inclusive) for queried data. i.e { "at_state_version" = {"epoch" = 10} }, will return data till 10 epoch.
at_ledger_stateLedgerStateSelector | nullOptional. This allows for a request to be made against a historic state. If a constraint is specified, the Gateway will resolve the request against the ledger state at that time. If not specified, requests will be made with respect to the top of the committed ledger.
intent_hashHashBech32mStringrequiredBech32m-encoded hash.
opt_insTransactionDetailsOptInsResponse
Transaction Status
Client-originated request error
Authorization
api-keyAuthapiKey in headerGet Transaction Status
Returns overall transaction status and all of its known payloads based on supplied intent hash.
Body
intent_hashHashBech32mStringrequiredBech32m-encoded hash.
Response
Transaction Status
Client-originated request error
Authorization
api-keyAuthapiKey in headerPreValidate deposit of resources to an account
Helper endpoint that allows pre-validation if a deposit of certain resources to a given account can succeed or not. It is only meant for pre-validation usage, it does not guarantee that execution will succeed.
Body
account_addressAddressrequiredBech32m-encoded human readable version of the address.
resource_addressesArray<Address>requiredbadgeTransactionAccountDepositPreValidationAuthorizedDepositorBadgeResponse
Pre-validation response, including all deciding factors that were used to generate that response.
Client-originated request error
Authorization
api-keyAuthapiKey in headerState
For reading the state of entities. At present, we only support reading details from the top of the currently committed ledger.
Get Entity Details
Returns detailed information for collection of entities. Aggregate resources globally by default.
Body
defines upper boundary (inclusive) for queried data. i.e { "at_state_version" = {"epoch" = 10} }, will return data till 10 epoch.
at_ledger_stateLedgerStateSelector | nullOptional. This allows for a request to be made against a historic state. If a constraint is specified, the Gateway will resolve the request against the ledger state at that time. If not specified, requests will be made with respect to the top of the committed ledger.
opt_insStateEntityDetailsOptInsCheck detailed OptIns documentation for more details
addressesArray<Address>requiredlimited to max 100 items.
aggregation_levelResourceAggregationLevelGlobalVaultResponse
Entity Details
Client-originated request error
Authorization
api-keyAuthapiKey in headerGet Entity Metadata Page
Returns all the metadata properties associated with a given global entity. The returned response is in a paginated format, ordered by first appearance on the ledger.
Body
defines upper boundary (inclusive) for queried data. i.e { "at_state_version" = {"epoch" = 10} }, will return data till 10 epoch.
at_ledger_stateLedgerStateSelector | nullOptional. This allows for a request to be made against a historic state. If a constraint is specified, the Gateway will resolve the request against the ledger state at that time. If not specified, requests will be made with respect to the top of the committed ledger.
cursorstring | nullThis cursor allows forward pagination, by providing the cursor from the previous request.
limit_per_pageinteger | nullThe page size requested.
addressAddressrequiredBech32m-encoded human readable version of the address.
Response
Entity Metadata (paginated)
Client-originated request error
Authorization
api-keyAuthapiKey in headerGet Entity Schema Page
Returns all the schemas associated with a given global entity. The returned response is in a paginated format, ordered by first appearance on the ledger.
Body
defines upper boundary (inclusive) for queried data. i.e { "at_state_version" = {"epoch" = 10} }, will return data till 10 epoch.
at_ledger_stateLedgerStateSelector | nullOptional. This allows for a request to be made against a historic state. If a constraint is specified, the Gateway will resolve the request against the ledger state at that time. If not specified, requests will be made with respect to the top of the committed ledger.
cursorstring | nullThis cursor allows forward pagination, by providing the cursor from the previous request.
limit_per_pageinteger | nullThe page size requested.
addressAddressrequiredBech32m-encoded human readable version of the address.
Response
Entity Schemas (paginated)
Client-originated request error
Authorization
api-keyAuthapiKey in headerGet page of Global Entity Fungible Resource Balances
Returns the total amount of each fungible resource owned by a given global entity. Result can be aggregated globally or per vault. The returned response is in a paginated format, ordered by the resource's first appearance on the ledger.
Body
defines upper boundary (inclusive) for queried data. i.e { "at_state_version" = {"epoch" = 10} }, will return data till 10 epoch.
at_ledger_stateLedgerStateSelector | nullOptional. This allows for a request to be made against a historic state. If a constraint is specified, the Gateway will resolve the request against the ledger state at that time. If not specified, requests will be made with respect to the top of the committed ledger.
cursorstring | nullThis cursor allows forward pagination, by providing the cursor from the previous request.
limit_per_pageinteger | nullThe page size requested.
addressAddressrequiredBech32m-encoded human readable version of the address.
aggregation_levelResourceAggregationLevelGlobalVaultopt_insStateEntityFungiblesPageRequestOptInsCheck detailed OptIns documentation for more details
Response
Entity Fungibles (paginated)
Client-originated request error
Authorization
api-keyAuthapiKey in headerGet page of Global Entity Fungible Resource Vaults
Returns vaults for fungible resource owned by a given global entity. The returned response is in a paginated format, ordered by the resource's first appearance on the ledger.
Body
defines upper boundary (inclusive) for queried data. i.e { "at_state_version" = {"epoch" = 10} }, will return data till 10 epoch.
at_ledger_stateLedgerStateSelector | nullOptional. This allows for a request to be made against a historic state. If a constraint is specified, the Gateway will resolve the request against the ledger state at that time. If not specified, requests will be made with respect to the top of the committed ledger.
cursorstring | nullThis cursor allows forward pagination, by providing the cursor from the previous request.
limit_per_pageinteger | nullThe page size requested.
addressAddressrequiredBech32m-encoded human readable version of the address.
resource_addressAddressrequiredBech32m-encoded human readable version of the address.
Response
Entity Fungibles (paginated)
Client-originated request error
Authorization
api-keyAuthapiKey in headerGet page of Global Entity Non-Fungible Resource Balances
Returns the total amount of each non-fungible resource owned by a given global entity. Result can be aggregated globally or per vault. The returned response is in a paginated format, ordered by the resource's first appearance on the ledger.
Body
defines upper boundary (inclusive) for queried data. i.e { "at_state_version" = {"epoch" = 10} }, will return data till 10 epoch.
at_ledger_stateLedgerStateSelector | nullOptional. This allows for a request to be made against a historic state. If a constraint is specified, the Gateway will resolve the request against the ledger state at that time. If not specified, requests will be made with respect to the top of the committed ledger.
cursorstring | nullThis cursor allows forward pagination, by providing the cursor from the previous request.
limit_per_pageinteger | nullThe page size requested.
addressAddressrequiredBech32m-encoded human readable version of the address.
aggregation_levelResourceAggregationLevelGlobalVaultopt_insStateEntityNonFungiblesPageRequestOptInsCheck detailed OptIns documentation for more details
Response
Entity Non-Fungibles (paginated)
Client-originated request error
Authorization
api-keyAuthapiKey in headerGet page of Global Entity Non-Fungible Resource Vaults
Returns vaults for non fungible resource owned by a given global entity. The returned response is in a paginated format, ordered by the resource's first appearance on the ledger.
Body
defines upper boundary (inclusive) for queried data. i.e { "at_state_version" = {"epoch" = 10} }, will return data till 10 epoch.
at_ledger_stateLedgerStateSelector | nullOptional. This allows for a request to be made against a historic state. If a constraint is specified, the Gateway will resolve the request against the ledger state at that time. If not specified, requests will be made with respect to the top of the committed ledger.
cursorstring | nullThis cursor allows forward pagination, by providing the cursor from the previous request.
limit_per_pageinteger | nullThe page size requested.
addressAddressrequiredBech32m-encoded human readable version of the address.
resource_addressAddressrequiredBech32m-encoded human readable version of the address.
opt_insStateEntityNonFungibleResourceVaultsPageOptInsCheck detailed OptIns documentation for more details
Response
Entity Fungibles (paginated)
Client-originated request error
Authorization
api-keyAuthapiKey in headerGet page of Non-Fungibles in Vault
Returns all non-fungible IDs of a given non-fungible resource owned by a given entity. The returned response is in a paginated format, ordered by the resource's first appearence on the ledger.
Body
defines upper boundary (inclusive) for queried data. i.e { "at_state_version" = {"epoch" = 10} }, will return data till 10 epoch.
at_ledger_stateLedgerStateSelector | nullOptional. This allows for a request to be made against a historic state. If a constraint is specified, the Gateway will resolve the request against the ledger state at that time. If not specified, requests will be made with respect to the top of the committed ledger.
cursorstring | nullThis cursor allows forward pagination, by providing the cursor from the previous request.
limit_per_pageinteger | nullThe page size requested.
addressAddressrequiredBech32m-encoded human readable version of the address.
vault_addressAddressrequiredBech32m-encoded human readable version of the address.
resource_addressAddressrequiredBech32m-encoded human readable version of the address.
Response
Entity Non-Fungible IDs (paginated)
Client-originated request error
Authorization
api-keyAuthapiKey in headerGet page of Non-Fungible Ids in Resource Collection
Returns the non-fungible IDs of a given non-fungible resource. Returned response is in a paginated format, ordered by their first appearance on the ledger.
Body
defines upper boundary (inclusive) for queried data. i.e { "at_state_version" = {"epoch" = 10} }, will return data till 10 epoch.
at_ledger_stateLedgerStateSelector | nullOptional. This allows for a request to be made against a historic state. If a constraint is specified, the Gateway will resolve the request against the ledger state at that time. If not specified, requests will be made with respect to the top of the committed ledger.
cursorstring | nullThis cursor allows forward pagination, by providing the cursor from the previous request.
limit_per_pageinteger | nullThe page size requested.
resource_addressAddressrequiredBech32m-encoded human readable version of the address.
Response
Non-Fungible IDs (paginated)
Client-originated request error
Authorization
api-keyAuthapiKey in headerGet Non-Fungible Data
Returns data associated with a given non-fungible ID of a given non-fungible resource.
Body
defines upper boundary (inclusive) for queried data. i.e { "at_state_version" = {"epoch" = 10} }, will return data till 10 epoch.
at_ledger_stateLedgerStateSelector | nullOptional. This allows for a request to be made against a historic state. If a constraint is specified, the Gateway will resolve the request against the ledger state at that time. If not specified, requests will be made with respect to the top of the committed ledger.
resource_addressAddressrequiredBech32m-encoded human readable version of the address.
non_fungible_idsArray<NonFungibleId>requiredlimited to max 100 items.
Response
Non-Fungible ID Data
Client-originated request error
Authorization
api-keyAuthapiKey in headerGet Non-Fungible Location
Returns location of a given non-fungible ID.
Body
defines upper boundary (inclusive) for queried data. i.e { "at_state_version" = {"epoch" = 10} }, will return data till 10 epoch.
at_ledger_stateLedgerStateSelector | nullOptional. This allows for a request to be made against a historic state. If a constraint is specified, the Gateway will resolve the request against the ledger state at that time. If not specified, requests will be made with respect to the top of the committed ledger.
resource_addressAddressrequiredBech32m-encoded human readable version of the address.
non_fungible_idsArray<NonFungibleId>requiredlimited to max 100 items.
Response
Non-Fungible ID Location
Client-originated request error
Authorization
api-keyAuthapiKey in headerGet KeyValueStore Keys
Allows to iterate over key value store keys.
Body
defines upper boundary (inclusive) for queried data. i.e { "at_state_version" = {"epoch" = 10} }, will return data till 10 epoch.
at_ledger_stateLedgerStateSelector | nullOptional. This allows for a request to be made against a historic state. If a constraint is specified, the Gateway will resolve the request against the ledger state at that time. If not specified, requests will be made with respect to the top of the committed ledger.
cursorstring | nullThis cursor allows forward pagination, by providing the cursor from the previous request.
limit_per_pageinteger | nullThe page size requested.
key_value_store_addressAddressrequiredBech32m-encoded human readable version of the address.
Response
KeyValueStore keys collection
Client-originated request error
Authorization
api-keyAuthapiKey in headerGet KeyValueStore Data
Returns data (value) associated with a given key of a given key-value store. Check detailed documentation for explanation
Body
defines upper boundary (inclusive) for queried data. i.e { "at_state_version" = {"epoch" = 10} }, will return data till 10 epoch.
at_ledger_stateLedgerStateSelector | nullOptional. This allows for a request to be made against a historic state. If a constraint is specified, the Gateway will resolve the request against the ledger state at that time. If not specified, requests will be made with respect to the top of the committed ledger.
key_value_store_addressAddressrequiredBech32m-encoded human readable version of the address.
keysArray<StateKeyValueStoreDataRequestKeyItem>requiredlimited to max 100 items.
Response
Non-Fungible ID Data
Client-originated request error
Authorization
api-keyAuthapiKey in headerGet Validators List
Body
defines upper boundary (inclusive) for queried data. i.e { "at_state_version" = {"epoch" = 10} }, will return data till 10 epoch.
at_ledger_stateLedgerStateSelector | nullOptional. This allows for a request to be made against a historic state. If a constraint is specified, the Gateway will resolve the request against the ledger state at that time. If not specified, requests will be made with respect to the top of the committed ledger.
cursorstring | nullThis cursor allows forward pagination, by providing the cursor from the previous request.
Response
Validators List
Client-originated request error
Authorization
api-keyAuthapiKey in headerGet Account resource preferences
Returns paginable collection of resource preference rules for given account.
Body
defines upper boundary (inclusive) for queried data. i.e { "at_state_version" = {"epoch" = 10} }, will return data till 10 epoch.
at_ledger_stateLedgerStateSelector | nullOptional. This allows for a request to be made against a historic state. If a constraint is specified, the Gateway will resolve the request against the ledger state at that time. If not specified, requests will be made with respect to the top of the committed ledger.
cursorstring | nullThis cursor allows forward pagination, by providing the cursor from the previous request.
limit_per_pageinteger | nullThe page size requested.
account_addressAddressrequiredBech32m-encoded human readable version of the address.
Response
Account resource preferences page
Client-originated request error
Authorization
api-keyAuthapiKey in headerGet Package Blueprints Page
Returns all the blueprints associated with a given package entity. The returned response is in a paginated format, ordered by first appearance on the ledger.
Body
defines upper boundary (inclusive) for queried data. i.e { "at_state_version" = {"epoch" = 10} }, will return data till 10 epoch.
at_ledger_stateLedgerStateSelector | nullOptional. This allows for a request to be made against a historic state. If a constraint is specified, the Gateway will resolve the request against the ledger state at that time. If not specified, requests will be made with respect to the top of the committed ledger.
cursorstring | nullThis cursor allows forward pagination, by providing the cursor from the previous request.
limit_per_pageinteger | nullThe page size requested.
package_addressAddressrequiredBech32m-encoded human readable version of the address.
Response
Package Blueprints (paginated)
Client-originated request error
Authorization
api-keyAuthapiKey in headerGet Package Codes Page
Returns all the codes associated with a given package entity. The returned response is in a paginated format, ordered by first appearance on the ledger.
Body
defines upper boundary (inclusive) for queried data. i.e { "at_state_version" = {"epoch" = 10} }, will return data till 10 epoch.
at_ledger_stateLedgerStateSelector | nullOptional. This allows for a request to be made against a historic state. If a constraint is specified, the Gateway will resolve the request against the ledger state at that time. If not specified, requests will be made with respect to the top of the committed ledger.
cursorstring | nullThis cursor allows forward pagination, by providing the cursor from the previous request.
limit_per_pageinteger | nullThe page size requested.
package_addressAddressrequiredBech32m-encoded human readable version of the address.
Response
Package Blueprints (paginated)
Client-originated request error
Authorization
api-keyAuthapiKey in headerStream
To query the transaction or proof stream of the ledger.
Get Transactions Stream
Returns transactions which have been committed to the ledger. Check detailed documentation for brief explanation
Body
defines upper boundary (inclusive) for queried data. i.e { "at_state_version" = {"epoch" = 10} }, will return data till 10 epoch.
at_ledger_stateLedgerStateSelector | nullOptional. This allows for a request to be made against a historic state. If a constraint is specified, the Gateway will resolve the request against the ledger state at that time. If not specified, requests will be made with respect to the top of the committed ledger.
defines lower boundary (inclusive) for queried data. i.e { "from_state_version" = {"epoch" = 10} }, will return data from epoch 10 till current max ledger tip.
from_ledger_stateLedgerStateSelector | nullOptional. This allows for a request to be made against a historic state. If a constraint is specified, the Gateway will resolve the request against the ledger state at that time. If not specified, requests will be made with respect to the top of the committed ledger.
cursorstring | nullThis cursor allows forward pagination, by providing the cursor from the previous request.
limit_per_pageinteger | nullThe page size requested.
kind_filterstringUserEpochChangeAllLimit returned transactions by their kind. Defaults to user.
manifest_accounts_withdrawn_from_filterArray<Address>manifest_accounts_deposited_into_filterArray<Address>manifest_badges_presented_filterArray<Address>manifest_resources_filterArray<Address>affected_global_entities_filterArray<Address>events_filterArray<StreamTransactionsRequestEventFilterItem>accounts_with_manifest_owner_method_callsArray<Address>accounts_without_manifest_owner_method_callsArray<Address>manifest_class_filterobjectorderstringAscDescConfigures the order of returned result set. Defaults to desc.
opt_insTransactionDetailsOptInsResponse
Transactions (paginated)
Client-originated request error
Authorization
api-keyAuthapiKey in headerStatistics
Calculate particular statistics based on current or historic ledger state.
Get Validators Uptime
Returns validators uptime data for time range limited by from_state_version and at_state_version.
Body
For at_ledger_state and from_ledger_state you can use one of state_version, epoch, epoch and round, or timestamp, but then ongoing epoch will be selected and used for querying data.
i.e for request with { "from_state_version" = { "state_version" = 100 }, "at_state_version" = { "state_version" = 300} } gateway api will check in which epoch transactions with state version 100 and 300 were and then use that as inclusive boundary for request.
defines upper boundary (inclusive) for queried data. i.e { "at_state_version" = {"epoch" = 10} }, will return data till 10 epoch.
at_ledger_stateLedgerStateSelector | nullOptional. This allows for a request to be made against a historic state. If a constraint is specified, the Gateway will resolve the request against the ledger state at that time. If not specified, requests will be made with respect to the top of the committed ledger.
defines lower boundary (inclusive) for queried data. i.e { "from_state_version" = {"epoch" = 10} }, will return data from epoch 10 till current max ledger tip.
from_ledger_stateLedgerStateSelector | nullOptional. This allows for a request to be made against a historic state. If a constraint is specified, the Gateway will resolve the request against the ledger state at that time. If not specified, requests will be made with respect to the top of the committed ledger.
validator_addressesArray<Address>Response
Validators Uptime
Client-originated request error
Authorization
api-keyAuthapiKey in header