Home

Radix Core API - Babylon (Bottlenose)

vv1.2.0
Base URLs
https://xrd.nownodes.io/core
https://xrd-gateway.nownodes.io

Authentication

api-keyAuthapiKey

API Key: api-key in header

Core

LTS

For long term support/backward compatible endpoints aimed at integrators such as exchanges.

Get Construction Metadata

POST
https://xrd.nownodes.io/core/lts/transaction/construction

Returns information necessary to build a transaction

Body

application/json
networkNetworkIdentifierrequired

The logical name of the network

Response

200OK

All info needed to build a transaction

500Internal Server Error

Server error

Authorization

api-keyAuthapiKey in header

Submit Transaction

POST
https://xrd.nownodes.io/core/lts/transaction/submit

Submits a notarized transaction to the network. Returns whether the transaction submission was already included in the node's mempool.

Body

application/json
networkNetworkIdentifierrequired

The logical name of the network

notarized_transaction_hexstringrequired

A hex-encoded, compiled notarized transaction.

force_recalculateboolean

If true, the transaction validity is freshly recalculated without using any caches (defaults false)

Response

200OK

Transaction Submit Response

400Bad Request

Client error

500Internal Server Error

Server error

Authorization

api-keyAuthapiKey in header

Get Transaction Status

POST
https://xrd.nownodes.io/core/lts/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

application/json
networkNetworkIdentifierrequired

The logical name of the network

intent_hashIntentHashInputrequired

The 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

200OK

Transaction status response

400Bad Request

Client error

500Internal Server Error

Server error

Authorization

api-keyAuthapiKey in header

Get All Account Balances

POST
https://xrd.nownodes.io/core/lts/state/account-all-fungible-resource-balances

Returns balances for all resources associated with an account

Body

application/json
networkNetworkIdentifierrequired

The logical name of the network

account_addressstringrequired

The Bech32m-encoded human readable version of the account's address

Response

200OK

Account all resource balances response

500Internal Server Error

Server error

Authorization

api-keyAuthapiKey in header

Get Single Account Balance

POST
https://xrd.nownodes.io/core/lts/state/account-fungible-resource-balance

Returns balance of a single fungible resource in an account

Body

application/json
networkNetworkIdentifierrequired

The logical name of the network

account_addressstringrequired

The Bech32m-encoded human readable version of the account's address

resource_addressResourceAddressrequired

The Bech32m-encoded human readable version of the resource address

Response

200OK

Account resource balance response

500Internal Server Error

Server error

Authorization

api-keyAuthapiKey in header

Get Account Deposit Behaviour

POST
https://xrd.nownodes.io/core/lts/state/account-deposit-behaviour

Returns deposit behaviour of a single account for multiple resource addresses

Body

application/json
networkNetworkIdentifierrequired

The logical name of the network

account_addressstringrequired

The Bech32m-encoded human readable version of the account's address.

resource_addressesArray<ResourceAddress>

The resource addresses to check the deposit behaviours of.

badgePresentedBadge

The depositor badge to check against the account's set of authorized depositors.

Show child attributes
typePresentedBadgeTypeResourceNonFungiblerequired
resource_addressResourceAddressrequired

The Bech32m-encoded human readable version of the resource address

Response

200OK

Account deposit behaviour response

500Internal Server Error

Server error

Authorization

api-keyAuthapiKey in header

Get Transaction Outcomes

POST
https://xrd.nownodes.io/core/lts/stream/transaction-outcomes

Returns a list of committed transaction outcomes (containing balance changes) from a given state version.

Body

application/json

A request to retrieve a sublist of committed transactions from the ledger.

networkNetworkIdentifierrequired

The logical name of the network

from_state_versionStateVersion<int64>[1, 100000000000000]required

The first (resultant) state version to be returned

limitintegerrequired

The maximum number of transactions that will be returned.

Response

200OK

Paged response

400Bad Request

Client error

500Internal Server Error

Server error

Authorization

api-keyAuthapiKey in header

Get Account Transaction Outcomes

POST
https://xrd.nownodes.io/core/lts/stream/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

application/json

A request to retrieve a sublist of committed transactions from the ledger.

networkNetworkIdentifierrequired

The logical name of the network

account_addressstringrequired

The Bech32m-encoded human readable version of the account's address

from_state_versionStateVersion<int64>[1, 100000000000000]required

The first (resultant) state version to be returned

limitintegerrequired

The maximum number of transactions that will be returned.

Response

200OK

Paged response

400Bad Request

Client error

500Internal Server Error

Server error

Authorization

api-keyAuthapiKey in header

Status

For status and configuration details for the node / engine.

Get Network Configuration

POST
https://xrd.nownodes.io/core/status/network-configuration

Returns the network configuration of the network the node is connected to.

Response

200OK

Network Configuration

500Internal Server Error

Server error

Authorization

api-keyAuthapiKey in header

Get Network Status

POST
https://xrd.nownodes.io/core/status/network-status

Returns the current state and status of the node's copy of the ledger.

Body

application/json
networkNetworkIdentifierrequired

The logical name of the network

Response

200OK

Network Status

500Internal Server Error

Server error

Authorization

api-keyAuthapiKey in header

Get Scenarios' results.

POST
https://xrd.nownodes.io/core/status/scenarios

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

application/json
networkNetworkIdentifierrequired

The logical name of the network

Response

200OK

Scenarios' results

500Internal Server Error

Server error

Authorization

api-keyAuthapiKey in header

Transaction

For transaction construction, preview, submission, and monitoring the status of an individual transaction.

Parse Transaction Payload

POST
https://xrd.nownodes.io/core/transaction/parse

Extracts the contents and hashes of various types of transaction payloads, or sub-payloads.

Body

application/json
networkNetworkIdentifierrequired

The logical name of the network

payload_hexstringrequired

A 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_modestringAnyNotarizedSignedUnsignedLedger

The 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_modestringNoneStaticFull

The 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_modestringBasicFull

The 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_optionsTransactionFormatOptions

Requested transaction formats to include in the response

Show child attributes
manifestboolean

Whether to return the raw manifest (default true)

blobsboolean

Whether to return the hex-encoded blobs (default false)

messageboolean

Whether to return the transaction message (default true)

balance_changesboolean

Whether to return the transaction balance changes (default false)

raw_system_transactionboolean

Whether to return the raw hex-encoded system transaction bytes (default false)

raw_notarized_transactionboolean

Whether to return the raw hex-encoded notarized transaction bytes (default true)

raw_ledger_transactionboolean

Whether to return the raw hex-encoded ledger transaction bytes (default false)

Response

200OK

Transaction Parse Response

400Bad Request

Client error

500Internal Server Error

Server error

Authorization

api-keyAuthapiKey in header

Transaction Submit

POST
https://xrd.nownodes.io/core/transaction/submit

Submits a notarized transaction to the network. Returns whether the transaction submission was already included in the node's mempool.

Body

application/json
networkNetworkIdentifierrequired

The logical name of the network

notarized_transaction_hexstringrequired

A hex-encoded, compiled notarized transaction.

force_recalculateboolean

If true, the transaction validity is freshly recalculated without using any caches (defaults false)

Response

200OK

Transaction Submit Response

400Bad Request

Client error

500Internal Server Error

Server error

Authorization

api-keyAuthapiKey in header

Get Transaction Status

POST
https://xrd.nownodes.io/core/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

application/json
networkNetworkIdentifierrequired

The logical name of the network

intent_hashIntentHashInputrequired

The 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

200OK

Transaction status response

400Bad Request

Client error

500Internal Server Error

Server error

Authorization

api-keyAuthapiKey in header

Get Transaction Receipt

POST
https://xrd.nownodes.io/core/transaction/receipt

Gets the transaction receipt for a committed transaction.

Body

application/json
networkNetworkIdentifierrequired

The logical name of the network

intent_hashIntentHashInputrequired

The 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_optionsTransactionFormatOptions

Requested transaction formats to include in the response

Show child attributes
manifestboolean

Whether to return the raw manifest (default true)

blobsboolean

Whether to return the hex-encoded blobs (default false)

messageboolean

Whether to return the transaction message (default true)

balance_changesboolean

Whether to return the transaction balance changes (default false)

raw_system_transactionboolean

Whether to return the raw hex-encoded system transaction bytes (default false)

raw_notarized_transactionboolean

Whether to return the raw hex-encoded notarized transaction bytes (default true)

raw_ledger_transactionboolean

Whether to return the raw hex-encoded ledger transaction bytes (default false)

Response

200OK

Committed transaction found response

400Bad Request

Client error

404Not Found

Committed transaction not found response

500Internal Server Error

Server error

Authorization

api-keyAuthapiKey in header

Scrypto Call Preview

POST
https://xrd.nownodes.io/core/transaction/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

application/json
networkNetworkIdentifierrequired

The logical name of the network

at_ledger_stateLedgerStateSelector

An 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).

Show child attributes
typeLedgerStateSelectorTypeByStateVersionrequired
targetTargetIdentifierrequired
Show child attributes
typeTargetIdentifierTypeMethodFunctionrequired
argumentsArray<string>required

Argument list

Response

200OK

Result of the scrypto function call

400Bad Request

Client error

500Internal Server Error

Server error

Authorization

api-keyAuthapiKey in header

Transaction Preview

POST
https://xrd.nownodes.io/core/transaction/preview

Preview a transaction against the latest network state, and returns the preview receipt.

Body

application/json
networkNetworkIdentifierrequired

The logical name of the network

at_ledger_stateLedgerStateSelector

An 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).

Show child attributes
typeLedgerStateSelectorTypeByStateVersionrequired
manifeststringrequired

A text-representation of a transaction manifest

blobs_hexArray<string>

An array of hex-encoded blob data (optional)

start_epoch_inclusiveinteger<int64>[0, 10000000000]required

An integer between 0 and 10^10, marking the epoch at which the transaction starts being valid

end_epoch_exclusiveinteger<int64>[0, 10000000000]required

An integer between 0 and 10^10, marking the epoch at which the transaction is no longer valid

notary_public_keyPublicKey

The notary public key to use (optional)

Show child attributes
key_typePublicKeyTypeEcdsaSecp256k1EddsaEd25519required
notary_is_signatoryboolean

Whether the notary should count as a signatory (optional, default false)

tip_percentageinteger<int32>[0, 65535]required

An 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]required

An 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>required

A list of public keys to be used as transaction signers

Show child attributes
key_typePublicKeyTypeEcdsaSecp256k1EddsaEd25519required
messageTransactionMessage

An optional transaction message. Only affects the costing.

Show child attributes
typeTransactionMessageTypePlaintextEncryptedrequired
flagsobjectrequired
Show child attributes
use_free_creditbooleanrequired
assume_all_signature_proofsbooleanrequired
skip_epoch_checkbooleanrequired
disable_auth_checksboolean

Can be used to skip performing auth checks during runtime.

This could be used to e.g.:

  • Preview protocol update style transactions
  • Mint resources for previewing trades with resources you don't own. If doing this, be warned:
    • Only resources which were potentially mintable/burnable at creation time will be mintable/burnable, due to feature flags on the resource.
    • Please see the below warning about unexpected results if using this approach.

Please be warned - this mode of operation is quite a departure from normal operation:

  • Calculated fees will likely be lower than a standard execution
  • This mode can subtly break invariants some dApp code might rely on, or result in unexpected behaviour, so the resulting execution result might not be valid for your needs. For example, if I used this flag to mint pool units to preview a redemption (or some dApp interaction which behind the scenes redeemed them), they'd redeem for less than they're currently worth, because the blueprint code relies on the total supply of the pool units to calculate their redemption worth, and you've just inflated the total supply through the mint operation.

Response

200OK

Transaction preview response

400Bad Request

Client error

500Internal Server Error

Server error

Authorization

api-keyAuthapiKey in header

Mempool

For information on the contents of the node's mempool.

Get Mempool List

POST
https://xrd.nownodes.io/core/mempool/list

Returns the hashes of all the transactions currently in the mempool

Body

application/json
networkNetworkIdentifierrequired

The logical name of the network

Response

200OK

Mempool List Response

500Internal Server Error

Server error

Authorization

api-keyAuthapiKey in header

Get Mempool Transaction

POST
https://xrd.nownodes.io/core/mempool/transaction

Returns the payload of a transaction currently in the mempool

Body

application/json
networkNetworkIdentifierrequired

The logical name of the network

payload_hashesArray<NotarizedTransactionHashInput>required

A list of payload hashes to attempt to read. Each hash must be either hex, or in Bech32m format.

Response

200OK

Mempool Transaction Response

404Not Found

Not found error

500Internal Server Error

Server error

Authorization

api-keyAuthapiKey in header

State

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

POST
https://xrd.nownodes.io/core/state/consensus-manager

Reads the consensus manager's substate/s from the top of the current ledger.

Body

application/json
networkNetworkIdentifierrequired

The logical name of the network

include_readiness_signalsboolean

Whether to include protocol update readiness signals of active validator set (default false).

Response

200OK

Current state response

400Bad Request

Client error

500Internal Server Error

Server error

Authorization

api-keyAuthapiKey in header

Get Account Details

POST
https://xrd.nownodes.io/core/state/account

Reads the account's substate/s from the top of the current ledger. Also returns all vaults under the account.

Body

application/json
networkNetworkIdentifierrequired

The logical name of the network

account_addressstringrequired

The Bech32m-encoded human readable version of the account's global address

Response

200OK

Current state response

400Bad Request

Client error

404Not Found

Not found error

500Internal Server Error

Server error

Authorization

api-keyAuthapiKey in header

Get Component Details

POST
https://xrd.nownodes.io/core/state/component

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

application/json
networkNetworkIdentifierrequired

The logical name of the network

component_addressstringrequired

The Bech32m-encoded human readable version of the component's global address

Response

200OK

Current state response

400Bad Request

Client error

404Not Found

Not found error

500Internal Server Error

Server error

Authorization

api-keyAuthapiKey in header

Get Validator Details

POST
https://xrd.nownodes.io/core/state/validator

Reads the validator's substate/s from the top of the current ledger.

Body

application/json
networkNetworkIdentifierrequired

The logical name of the network

validator_addressComponentAddressrequired

The Bech32m-encoded human readable version of the component address

Response

200OK

Current state response

400Bad Request

Client error

404Not Found

Not found error

500Internal Server Error

Server error

Authorization

api-keyAuthapiKey in header

Get Access Controller Details

POST
https://xrd.nownodes.io/core/state/access-controller

Reads the access controller's substate/s from the top of the current ledger.

Body

application/json
networkNetworkIdentifierrequired

The logical name of the network

controller_addressComponentAddressrequired

The Bech32m-encoded human readable version of the component address

Response

200OK

Current state response

400Bad Request

Client error

404Not Found

Not found error

500Internal Server Error

Server error

Authorization

api-keyAuthapiKey in header

Get Resource Details

POST
https://xrd.nownodes.io/core/state/resource

Reads the resource manager's substate/s from the top of the current ledger.

Body

application/json
networkNetworkIdentifierrequired

The logical name of the network

resource_addressstringrequired

The Bech32m-encoded human readable version of the resource's global address

Response

200OK

Current state response

400Bad Request

Client error

404Not Found

Not found error

500Internal Server Error

Server error

Authorization

api-keyAuthapiKey in header

Get Non-Fungible Details

POST
https://xrd.nownodes.io/core/state/non-fungible

Reads the data associated with a single Non-Fungible Unit under a Non-Fungible Resource.

Body

application/json
networkNetworkIdentifierrequired

The logical name of the network

resource_addressstringrequired

The Bech32m-encoded human readable version of the resource's global address

non_fungible_idNonFungibleLocalIdSimpleRepresentationrequired

The 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 fixed NonFungibleIdType, so this representation uniquely identifies this non-fungible under the given resource address.

Response

200OK

Current state response

400Bad Request

Client error

404Not Found

Not found error

500Internal Server Error

Server error

Authorization

api-keyAuthapiKey in header

Get Package Details

POST
https://xrd.nownodes.io/core/state/package

Reads the package's substate/s from the top of the current ledger.

Body

application/json
networkNetworkIdentifierrequired

The logical name of the network

package_addressstringrequired

The Bech32m-encoded human readable version of the package's global address

Response

200OK

Current state response

400Bad Request

Client error

404Not Found

Not found error

500Internal Server Error

Server error

Authorization

api-keyAuthapiKey in header

Stream

To query the transaction or proof stream of the ledger.

Stream Proofs

POST
https://xrd.nownodes.io/core/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

application/json

A request to retrieve a sublist of proofs.

networkNetworkIdentifierrequired

The logical name of the network

filterStreamProofsFilter

If not provided, defaults to "Any".

Show child attributes
typeStreamProofsFilterTypeAnyNewEpochsProtocolUpdateInitializationsProtocolUpdateExecutionrequired
max_page_sizeinteger

If specified, the maximum number of proofs that will be returned.

continuation_tokenContinuationToken

A 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

200OK

Stream proofs response

400Bad Request

Client error

500Internal Server Error

Server error

Authorization

api-keyAuthapiKey in header

Get Committed Transactions

POST
https://xrd.nownodes.io/core/stream/transactions

Returns the list of committed transactions.

Body

application/json

A request to retrieve a sublist of committed transactions from the ledger.

networkNetworkIdentifierrequired

The logical name of the network

from_state_versionStateVersion<int64>[1, 100000000000000]required

The first (resultant) state version to be returned

limitintegerrequired

The maximum number of transactions that will be returned.

sbor_format_optionsSborFormatOptions

Requested SBOR formats to include in the response

Show child attributes
rawboolean

Whether to return the raw hex-encoded bytes (default true)

programmatic_jsonboolean

Whether to return the programmatic json format (normally default true, defaults false for streamed transactions)

transaction_format_optionsTransactionFormatOptions

Requested transaction formats to include in the response

Show child attributes
manifestboolean

Whether to return the raw manifest (default true)

blobsboolean

Whether to return the hex-encoded blobs (default false)

messageboolean

Whether to return the transaction message (default true)

balance_changesboolean

Whether to return the transaction balance changes (default false)

raw_system_transactionboolean

Whether to return the raw hex-encoded system transaction bytes (default false)

raw_notarized_transactionboolean

Whether to return the raw hex-encoded notarized transaction bytes (default true)

raw_ledger_transactionboolean

Whether to return the raw hex-encoded ledger transaction bytes (default false)

substate_format_optionsSubstateFormatOptions

Requested substate formats to include in the response

Show child attributes
rawboolean

Whether to return the raw substate value bytes (default false)

hashboolean

Whether to return the raw substate value bytes hash (default false)

typedboolean

Whether to return the typed substate information (default true)

previousboolean

Whether to return the previous substate value for updates and deletes (default false)

include_proofsboolean

Whether to include LedgerProofs (default false)

Response

200OK

Committed transactions response

400Bad Request

Client error

500Internal Server Error

Server error

Authorization

api-keyAuthapiKey in header

Geteway

Status

For status and configuration details for the node / engine.

Get Gateway Status

POST
https://xrd.nownodes.io/core/status/gateway-status

Returns the Gateway API version and current ledger state.

Response

200OK

Network Gateway Information

Authorization

api-keyAuthapiKey in header

Get Network Configuration

POST
https://xrd.nownodes.io/core/status/network-configuration

Returns network identifier, network name and well-known network addresses.

Response

200OK

Network Configuration

Authorization

api-keyAuthapiKey in header

Transaction

For transaction construction, preview, submission, and monitoring the status of an individual transaction.

Get Construction Metadata

POST
https://xrd.nownodes.io/core/transaction/construction

Returns information needed to construct a new transaction including current epoch number.

Response

200OK

Returns information needed to construct transaction.

Authorization

api-keyAuthapiKey in header

Preview Transaction

POST
https://xrd.nownodes.io/core/transaction/preview

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

application/json
manifeststringrequired

A text-representation of a transaction manifest

blobs_hexArray<string>

An array of hex-encoded blob data (optional)

start_epoch_inclusiveinteger<int64>[0, 10000000000]required

An integer between 0 and 10^10, marking the epoch at which the transaction starts being valid

end_epoch_exclusiveinteger<int64>[0, 10000000000]required

An integer between 0 and 10^10, marking the epoch at which the transaction is no longer valid

notary_public_keyPublicKey

The notary public key to use (optional)

Show child attributes
key_typePublicKeyTypeEcdsaSecp256k1EddsaEd25519required
notary_is_signatoryboolean

Whether the notary should count as a signatory (optional, default false)

tip_percentageinteger<int32>[0, 65535]required

An 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>>= 0required

A decimal-string-encoded integer between 0 and 2^32 - 1, used to ensure the transaction intent is unique.

signer_public_keysArray<PublicKey>required

A list of public keys to be used as transaction signers

Show child attributes
key_typePublicKeyTypeEcdsaSecp256k1EddsaEd25519required
flagsobjectrequired
Show child attributes
use_free_creditbooleanrequired
assume_all_signature_proofsbooleanrequired
skip_epoch_checkbooleanrequired

Response

200OK

Successful Preview

4XX

Client-originated request error

Authorization

api-keyAuthapiKey in header

Submit Transaction

POST
https://xrd.nownodes.io/core/transaction/submit

Submits a signed transaction payload to the network.

Body

application/json
notarized_transaction_hexNotarizedTransactionHexStringrequired

Hex-encoded notarized transaction payload which can be submitted.

Response

200OK

Successful Submission

4XX

Client-originated request error

Authorization

api-keyAuthapiKey in header

Get Committed Transaction Details

POST
https://xrd.nownodes.io/core/transaction/committed-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

application/json

defines upper boundary (inclusive) for queried data. i.e { "at_state_version" = {"epoch" = 10} }, will return data till 10 epoch.

at_ledger_stateLedgerStateSelector | null

Optional. 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.

Show child attributes
state_versioninteger<int64> | null[1, 100000000000000]

If provided, the latest ledger state lower than or equal to the given state version is returned.

timestampstring<date-time> | null

If provided, the latest ledger state lower than or equal to the given round timestamp is returned.

epochinteger<int64> | null[0, 10000000000]

If provided, the ledger state lower than or equal to the given epoch at round 0 is returned.

roundinteger<int64> | null[0, 10000000000]

If provided must be accompanied with epoch, the ledger state lower than or equal to the given epoch and round is returned.

intent_hashHashBech32mStringrequired

Bech32m-encoded hash.

opt_insTransactionDetailsOptIns
Show child attributes
raw_hexbooleanfalse

if set to true, raw transaction hex is returned.

receipt_state_changesbooleanfalse

if set to true, state changes inside receipt object are returned.

receipt_fee_summarybooleanfalse

if set to true, fee summary inside receipt object is returned.

receipt_fee_sourcebooleanfalse

if set to true, fee source inside receipt object is returned.

receipt_fee_destinationbooleanfalse

if set to true, fee destination inside receipt object is returned.

receipt_costing_parametersbooleanfalse

if set to true, costing parameters inside receipt object is returned.

receipt_eventsbooleanfalse

if set to true, events inside receipt object is returned.

receipt_outputbooleantrue

(true by default) if set to true, transaction receipt output is returned.

affected_global_entitiesbooleanfalse

if set to true, all affected global entities by given transaction are returned.

manifest_instructionsbooleanfalse

if set to true, manifest instructions for user transactions are returned.

balance_changesbooleanfalse

if set to true, returns the fungible and non-fungible balance changes.

Warning! This opt-in might be missing for recently committed transactions, in that case a null value will be returned. Retry the request until non-null value is returned.

Response

200OK

Transaction Status

4XX

Client-originated request error

Authorization

api-keyAuthapiKey in header

Get Transaction Status

POST
https://xrd.nownodes.io/core/transaction/status

Returns overall transaction status and all of its known payloads based on supplied intent hash.

Body

application/json
intent_hashHashBech32mStringrequired

Bech32m-encoded hash.

Response

200OK

Transaction Status

4XX

Client-originated request error

Authorization

api-keyAuthapiKey in header

PreValidate deposit of resources to an account

POST
https://xrd.nownodes.io/core/transaction/account-deposit-pre-validation

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

application/json
account_addressAddressrequired

Bech32m-encoded human readable version of the address.

resource_addressesArray<Address>required
badgeTransactionAccountDepositPreValidationAuthorizedDepositorBadge
Show child attributes
badge_typeAccountAuthorizedDepositorBadgeTypeResourceBadgeNonFungibleBadgerequired
resource_addressAddressrequired

Bech32m-encoded human readable version of the address.

Response

200OK

Pre-validation response, including all deciding factors that were used to generate that response.

4XX

Client-originated request error

Authorization

api-keyAuthapiKey in header

State

For reading the state of entities. At present, we only support reading details from the top of the currently committed ledger.

Get Entity Details

POST
https://xrd.nownodes.io/core/state/entity/details

Returns detailed information for collection of entities. Aggregate resources globally by default.

Body

application/json

defines upper boundary (inclusive) for queried data. i.e { "at_state_version" = {"epoch" = 10} }, will return data till 10 epoch.

at_ledger_stateLedgerStateSelector | null

Optional. 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.

Show child attributes
state_versioninteger<int64> | null[1, 100000000000000]

If provided, the latest ledger state lower than or equal to the given state version is returned.

timestampstring<date-time> | null

If provided, the latest ledger state lower than or equal to the given round timestamp is returned.

epochinteger<int64> | null[0, 10000000000]

If provided, the ledger state lower than or equal to the given epoch at round 0 is returned.

roundinteger<int64> | null[0, 10000000000]

If provided must be accompanied with epoch, the ledger state lower than or equal to the given epoch and round is returned.

opt_insStateEntityDetailsOptIns

Check detailed OptIns documentation for more details

Show child attributes
ancestor_identitiesbooleanfalse

if set to true, ancestor addresses - parent_address, owner_address and global_address for entities are returned.

component_royalty_configbooleanfalse

if set to true, royalty_config for component entities is returned.

component_royalty_vault_balancebooleanfalse

if set to true, royalty_vault_balance for component entities is returned.

package_royalty_vault_balancebooleanfalse

if set to true, royalty_vault_balance for package entities is returned.

non_fungible_include_nfidsbooleanfalse

if set to true, first page of non fungible ids are returned for each non fungible resource, with next_cursor which can be later used at /state/entity/page/non-fungible-vault/ids endpoint.

explicit_metadataArray<string>

allows specifying explicitly metadata properties which should be returned in response.

addressesArray<Address>required

limited to max 100 items.

aggregation_levelResourceAggregationLevelGlobalVault

Response

200OK

Entity Details

4XX

Client-originated request error

Authorization

api-keyAuthapiKey in header

Get Entity Metadata Page

POST
https://xrd.nownodes.io/core/state/entity/page/metadata

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

application/json

defines upper boundary (inclusive) for queried data. i.e { "at_state_version" = {"epoch" = 10} }, will return data till 10 epoch.

at_ledger_stateLedgerStateSelector | null

Optional. 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.

Show child attributes
state_versioninteger<int64> | null[1, 100000000000000]

If provided, the latest ledger state lower than or equal to the given state version is returned.

timestampstring<date-time> | null

If provided, the latest ledger state lower than or equal to the given round timestamp is returned.

epochinteger<int64> | null[0, 10000000000]

If provided, the ledger state lower than or equal to the given epoch at round 0 is returned.

roundinteger<int64> | null[0, 10000000000]

If provided must be accompanied with epoch, the ledger state lower than or equal to the given epoch and round is returned.

cursorstring | null

This cursor allows forward pagination, by providing the cursor from the previous request.

limit_per_pageinteger | null

The page size requested.

addressAddressrequired

Bech32m-encoded human readable version of the address.

Response

200OK

Entity Metadata (paginated)

4XX

Client-originated request error

Authorization

api-keyAuthapiKey in header

Get Entity Schema Page

POST
https://xrd.nownodes.io/core/state/entity/page/schemas

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

application/json

defines upper boundary (inclusive) for queried data. i.e { "at_state_version" = {"epoch" = 10} }, will return data till 10 epoch.

at_ledger_stateLedgerStateSelector | null

Optional. 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.

Show child attributes
state_versioninteger<int64> | null[1, 100000000000000]

If provided, the latest ledger state lower than or equal to the given state version is returned.

timestampstring<date-time> | null

If provided, the latest ledger state lower than or equal to the given round timestamp is returned.

epochinteger<int64> | null[0, 10000000000]

If provided, the ledger state lower than or equal to the given epoch at round 0 is returned.

roundinteger<int64> | null[0, 10000000000]

If provided must be accompanied with epoch, the ledger state lower than or equal to the given epoch and round is returned.

cursorstring | null

This cursor allows forward pagination, by providing the cursor from the previous request.

limit_per_pageinteger | null

The page size requested.

addressAddressrequired

Bech32m-encoded human readable version of the address.

Response

200OK

Entity Schemas (paginated)

4XX

Client-originated request error

Authorization

api-keyAuthapiKey in header

Get page of Global Entity Fungible Resource Balances

POST
https://xrd.nownodes.io/core/state/entity/page/fungibles

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

application/json

defines upper boundary (inclusive) for queried data. i.e { "at_state_version" = {"epoch" = 10} }, will return data till 10 epoch.

at_ledger_stateLedgerStateSelector | null

Optional. 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.

Show child attributes
state_versioninteger<int64> | null[1, 100000000000000]

If provided, the latest ledger state lower than or equal to the given state version is returned.

timestampstring<date-time> | null

If provided, the latest ledger state lower than or equal to the given round timestamp is returned.

epochinteger<int64> | null[0, 10000000000]

If provided, the ledger state lower than or equal to the given epoch at round 0 is returned.

roundinteger<int64> | null[0, 10000000000]

If provided must be accompanied with epoch, the ledger state lower than or equal to the given epoch and round is returned.

cursorstring | null

This cursor allows forward pagination, by providing the cursor from the previous request.

limit_per_pageinteger | null

The page size requested.

addressAddressrequired

Bech32m-encoded human readable version of the address.

aggregation_levelResourceAggregationLevelGlobalVault
opt_insStateEntityFungiblesPageRequestOptIns

Check detailed OptIns documentation for more details

Show child attributes
explicit_metadataArray<string>

allows specifying explicitly metadata properties which should be returned in response, limited to max 20 items.

Response

200OK

Entity Fungibles (paginated)

4XX

Client-originated request error

Authorization

api-keyAuthapiKey in header

Get page of Global Entity Fungible Resource Vaults

POST
https://xrd.nownodes.io/core/state/entity/page/fungible-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

application/json

defines upper boundary (inclusive) for queried data. i.e { "at_state_version" = {"epoch" = 10} }, will return data till 10 epoch.

at_ledger_stateLedgerStateSelector | null

Optional. 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.

Show child attributes
state_versioninteger<int64> | null[1, 100000000000000]

If provided, the latest ledger state lower than or equal to the given state version is returned.

timestampstring<date-time> | null

If provided, the latest ledger state lower than or equal to the given round timestamp is returned.

epochinteger<int64> | null[0, 10000000000]

If provided, the ledger state lower than or equal to the given epoch at round 0 is returned.

roundinteger<int64> | null[0, 10000000000]

If provided must be accompanied with epoch, the ledger state lower than or equal to the given epoch and round is returned.

cursorstring | null

This cursor allows forward pagination, by providing the cursor from the previous request.

limit_per_pageinteger | null

The page size requested.

addressAddressrequired

Bech32m-encoded human readable version of the address.

resource_addressAddressrequired

Bech32m-encoded human readable version of the address.

Response

200OK

Entity Fungibles (paginated)

4XX

Client-originated request error

Authorization

api-keyAuthapiKey in header

Get page of Global Entity Non-Fungible Resource Balances

POST
https://xrd.nownodes.io/core/state/entity/page/non-fungibles

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

application/json

defines upper boundary (inclusive) for queried data. i.e { "at_state_version" = {"epoch" = 10} }, will return data till 10 epoch.

at_ledger_stateLedgerStateSelector | null

Optional. 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.

Show child attributes
state_versioninteger<int64> | null[1, 100000000000000]

If provided, the latest ledger state lower than or equal to the given state version is returned.

timestampstring<date-time> | null

If provided, the latest ledger state lower than or equal to the given round timestamp is returned.

epochinteger<int64> | null[0, 10000000000]

If provided, the ledger state lower than or equal to the given epoch at round 0 is returned.

roundinteger<int64> | null[0, 10000000000]

If provided must be accompanied with epoch, the ledger state lower than or equal to the given epoch and round is returned.

cursorstring | null

This cursor allows forward pagination, by providing the cursor from the previous request.

limit_per_pageinteger | null

The page size requested.

addressAddressrequired

Bech32m-encoded human readable version of the address.

aggregation_levelResourceAggregationLevelGlobalVault
opt_insStateEntityNonFungiblesPageRequestOptIns

Check detailed OptIns documentation for more details

Show child attributes
non_fungible_include_nfidsbooleanfalse

if set to true, first page of non fungible ids are returned for each non fungible resource, with cursor which can be later used at /state/entity/page/non-fungible-vault/ids endpoint.

explicit_metadataArray<string>

allows specifying explicitly metadata properties which should be returned in response, limited to max 20 items.

Response

200OK

Entity Non-Fungibles (paginated)

4XX

Client-originated request error

Authorization

api-keyAuthapiKey in header

Get page of Global Entity Non-Fungible Resource Vaults

POST
https://xrd.nownodes.io/core/state/entity/page/non-fungible-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

application/json

defines upper boundary (inclusive) for queried data. i.e { "at_state_version" = {"epoch" = 10} }, will return data till 10 epoch.

at_ledger_stateLedgerStateSelector | null

Optional. 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.

Show child attributes
state_versioninteger<int64> | null[1, 100000000000000]

If provided, the latest ledger state lower than or equal to the given state version is returned.

timestampstring<date-time> | null

If provided, the latest ledger state lower than or equal to the given round timestamp is returned.

epochinteger<int64> | null[0, 10000000000]

If provided, the ledger state lower than or equal to the given epoch at round 0 is returned.

roundinteger<int64> | null[0, 10000000000]

If provided must be accompanied with epoch, the ledger state lower than or equal to the given epoch and round is returned.

cursorstring | null

This cursor allows forward pagination, by providing the cursor from the previous request.

limit_per_pageinteger | null

The page size requested.

addressAddressrequired

Bech32m-encoded human readable version of the address.

resource_addressAddressrequired

Bech32m-encoded human readable version of the address.

opt_insStateEntityNonFungibleResourceVaultsPageOptIns

Check detailed OptIns documentation for more details

Show child attributes
non_fungible_include_nfidsboolean

if set to true, first page of non fungible ids are returned for each non fungible resource, with cursor which can be later used at /state/entity/page/non-fungible-vault/ids endpoint.

Response

200OK

Entity Fungibles (paginated)

4XX

Client-originated request error

Authorization

api-keyAuthapiKey in header

Get page of Non-Fungibles in Vault

POST
https://xrd.nownodes.io/core/state/entity/page/non-fungible-vault/ids

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

application/json

defines upper boundary (inclusive) for queried data. i.e { "at_state_version" = {"epoch" = 10} }, will return data till 10 epoch.

at_ledger_stateLedgerStateSelector | null

Optional. 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.

Show child attributes
state_versioninteger<int64> | null[1, 100000000000000]

If provided, the latest ledger state lower than or equal to the given state version is returned.

timestampstring<date-time> | null

If provided, the latest ledger state lower than or equal to the given round timestamp is returned.

epochinteger<int64> | null[0, 10000000000]

If provided, the ledger state lower than or equal to the given epoch at round 0 is returned.

roundinteger<int64> | null[0, 10000000000]

If provided must be accompanied with epoch, the ledger state lower than or equal to the given epoch and round is returned.

cursorstring | null

This cursor allows forward pagination, by providing the cursor from the previous request.

limit_per_pageinteger | null

The page size requested.

addressAddressrequired

Bech32m-encoded human readable version of the address.

vault_addressAddressrequired

Bech32m-encoded human readable version of the address.

resource_addressAddressrequired

Bech32m-encoded human readable version of the address.

Response

200OK

Entity Non-Fungible IDs (paginated)

4XX

Client-originated request error

Authorization

api-keyAuthapiKey in header

Get page of Non-Fungible Ids in Resource Collection

POST
https://xrd.nownodes.io/core/state/non-fungible/ids

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

application/json

defines upper boundary (inclusive) for queried data. i.e { "at_state_version" = {"epoch" = 10} }, will return data till 10 epoch.

at_ledger_stateLedgerStateSelector | null

Optional. 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.

Show child attributes
state_versioninteger<int64> | null[1, 100000000000000]

If provided, the latest ledger state lower than or equal to the given state version is returned.

timestampstring<date-time> | null

If provided, the latest ledger state lower than or equal to the given round timestamp is returned.

epochinteger<int64> | null[0, 10000000000]

If provided, the ledger state lower than or equal to the given epoch at round 0 is returned.

roundinteger<int64> | null[0, 10000000000]

If provided must be accompanied with epoch, the ledger state lower than or equal to the given epoch and round is returned.

cursorstring | null

This cursor allows forward pagination, by providing the cursor from the previous request.

limit_per_pageinteger | null

The page size requested.

resource_addressAddressrequired

Bech32m-encoded human readable version of the address.

Response

200OK

Non-Fungible IDs (paginated)

4XX

Client-originated request error

Authorization

api-keyAuthapiKey in header

Get Non-Fungible Data

POST
https://xrd.nownodes.io/core/state/non-fungible/data

Returns data associated with a given non-fungible ID of a given non-fungible resource.

Body

application/json

defines upper boundary (inclusive) for queried data. i.e { "at_state_version" = {"epoch" = 10} }, will return data till 10 epoch.

at_ledger_stateLedgerStateSelector | null

Optional. 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.

Show child attributes
state_versioninteger<int64> | null[1, 100000000000000]

If provided, the latest ledger state lower than or equal to the given state version is returned.

timestampstring<date-time> | null

If provided, the latest ledger state lower than or equal to the given round timestamp is returned.

epochinteger<int64> | null[0, 10000000000]

If provided, the ledger state lower than or equal to the given epoch at round 0 is returned.

roundinteger<int64> | null[0, 10000000000]

If provided must be accompanied with epoch, the ledger state lower than or equal to the given epoch and round is returned.

resource_addressAddressrequired

Bech32m-encoded human readable version of the address.

non_fungible_idsArray<NonFungibleId>required

limited to max 100 items.

Response

200OK

Non-Fungible ID Data

4XX

Client-originated request error

Authorization

api-keyAuthapiKey in header

Get Non-Fungible Location

POST
https://xrd.nownodes.io/core/state/non-fungible/location

Returns location of a given non-fungible ID.

Body

application/json

defines upper boundary (inclusive) for queried data. i.e { "at_state_version" = {"epoch" = 10} }, will return data till 10 epoch.

at_ledger_stateLedgerStateSelector | null

Optional. 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.

Show child attributes
state_versioninteger<int64> | null[1, 100000000000000]

If provided, the latest ledger state lower than or equal to the given state version is returned.

timestampstring<date-time> | null

If provided, the latest ledger state lower than or equal to the given round timestamp is returned.

epochinteger<int64> | null[0, 10000000000]

If provided, the ledger state lower than or equal to the given epoch at round 0 is returned.

roundinteger<int64> | null[0, 10000000000]

If provided must be accompanied with epoch, the ledger state lower than or equal to the given epoch and round is returned.

resource_addressAddressrequired

Bech32m-encoded human readable version of the address.

non_fungible_idsArray<NonFungibleId>required

limited to max 100 items.

Response

200OK

Non-Fungible ID Location

4XX

Client-originated request error

Authorization

api-keyAuthapiKey in header

Get KeyValueStore Keys

POST
https://xrd.nownodes.io/core/state/key-value-store/keys

Allows to iterate over key value store keys.

Body

application/json

defines upper boundary (inclusive) for queried data. i.e { "at_state_version" = {"epoch" = 10} }, will return data till 10 epoch.

at_ledger_stateLedgerStateSelector | null

Optional. 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.

Show child attributes
state_versioninteger<int64> | null[1, 100000000000000]

If provided, the latest ledger state lower than or equal to the given state version is returned.

timestampstring<date-time> | null

If provided, the latest ledger state lower than or equal to the given round timestamp is returned.

epochinteger<int64> | null[0, 10000000000]

If provided, the ledger state lower than or equal to the given epoch at round 0 is returned.

roundinteger<int64> | null[0, 10000000000]

If provided must be accompanied with epoch, the ledger state lower than or equal to the given epoch and round is returned.

cursorstring | null

This cursor allows forward pagination, by providing the cursor from the previous request.

limit_per_pageinteger | null

The page size requested.

key_value_store_addressAddressrequired

Bech32m-encoded human readable version of the address.

Response

200OK

KeyValueStore keys collection

4XX

Client-originated request error

Authorization

api-keyAuthapiKey in header

Get KeyValueStore Data

POST
https://xrd.nownodes.io/core/state/key-value-store/data

Returns data (value) associated with a given key of a given key-value store. Check detailed documentation for explanation

Body

application/json

defines upper boundary (inclusive) for queried data. i.e { "at_state_version" = {"epoch" = 10} }, will return data till 10 epoch.

at_ledger_stateLedgerStateSelector | null

Optional. 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.

Show child attributes
state_versioninteger<int64> | null[1, 100000000000000]

If provided, the latest ledger state lower than or equal to the given state version is returned.

timestampstring<date-time> | null

If provided, the latest ledger state lower than or equal to the given round timestamp is returned.

epochinteger<int64> | null[0, 10000000000]

If provided, the ledger state lower than or equal to the given epoch at round 0 is returned.

roundinteger<int64> | null[0, 10000000000]

If provided must be accompanied with epoch, the ledger state lower than or equal to the given epoch and round is returned.

key_value_store_addressAddressrequired

Bech32m-encoded human readable version of the address.

keysArray<StateKeyValueStoreDataRequestKeyItem>required

limited to max 100 items.

Show child attributes
key_hexHexString

Hex-encoded binary blob.

key_jsonProgrammaticScryptoSborValue

Arbitrary SBOR value represented as programmatic JSON with optional property name annotations.

All scalar types (Bool, I*, U*, String, Reference, Own, Decimal, PreciseDecimal, NonFungibleLocalId) convey their value via value string property with notable exception of Bool type that uses regular JSON boolean type. Numeric values as string-encoded to preserve accuracy and simplify implementation on platforms with no native support for 64-bit long numerical values.

Common properties represented as nullable strings:

  • type_name is only output when a schema is present and the type has a name,
  • field_name is only output when the value is a child of a Tuple or Enum, which has a type with named fields,
  • variant_name is only output when a schema is present and the type is an Enum.

The following is a non-normative example annotated Tuple value with String and U32 fields:

Copied!
{
  "kind": "Tuple",
  "type_name": "CustomStructure",
  "fields": [
    {
      "kind": "String",
      "field_name": "favorite_color",
      "value": "Blue"
    },
    {
      "kind": "U32",
      "field_name": "usage_counter",
      "value": "462231"
    }
  ]
}
Show child attributes
kindProgrammaticScryptoSborValueKindBoolI8I16I32I64I128U8U16U32U64U128StringEnumArrayBytesMapTupleReferenceOwnDecimalPreciseDecimalNonFungibleLocalIdrequired

These are the Scrypto SBOR ValueKinds, but with Bytes added as an alias for Vec, to display such values as hex-encoded strings.

type_namestring | null

The name of the type of this value. This is only output when a schema is present and the type has a name. This property is ignored when the value is used as an input to the API.

field_namestring | null

The name of the field which hosts this value. This property is only included if this value is a child of a Tuple or Enum with named fields. This property is ignored when the value is used as an input to the API.

Response

200OK

Non-Fungible ID Data

4XX

Client-originated request error

Authorization

api-keyAuthapiKey in header

Get Validators List

POST
https://xrd.nownodes.io/core/state/validators/list

Body

application/json

defines upper boundary (inclusive) for queried data. i.e { "at_state_version" = {"epoch" = 10} }, will return data till 10 epoch.

at_ledger_stateLedgerStateSelector | null

Optional. 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.

Show child attributes
state_versioninteger<int64> | null[1, 100000000000000]

If provided, the latest ledger state lower than or equal to the given state version is returned.

timestampstring<date-time> | null

If provided, the latest ledger state lower than or equal to the given round timestamp is returned.

epochinteger<int64> | null[0, 10000000000]

If provided, the ledger state lower than or equal to the given epoch at round 0 is returned.

roundinteger<int64> | null[0, 10000000000]

If provided must be accompanied with epoch, the ledger state lower than or equal to the given epoch and round is returned.

cursorstring | null

This cursor allows forward pagination, by providing the cursor from the previous request.

Response

200OK

Validators List

4XX

Client-originated request error

Authorization

api-keyAuthapiKey in header

Get Account resource preferences

POST
https://xrd.nownodes.io/core/state/account/page/resource-preferences

Returns paginable collection of resource preference rules for given account.

Body

application/json

defines upper boundary (inclusive) for queried data. i.e { "at_state_version" = {"epoch" = 10} }, will return data till 10 epoch.

at_ledger_stateLedgerStateSelector | null

Optional. 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.

Show child attributes
state_versioninteger<int64> | null[1, 100000000000000]

If provided, the latest ledger state lower than or equal to the given state version is returned.

timestampstring<date-time> | null

If provided, the latest ledger state lower than or equal to the given round timestamp is returned.

epochinteger<int64> | null[0, 10000000000]

If provided, the ledger state lower than or equal to the given epoch at round 0 is returned.

roundinteger<int64> | null[0, 10000000000]

If provided must be accompanied with epoch, the ledger state lower than or equal to the given epoch and round is returned.

cursorstring | null

This cursor allows forward pagination, by providing the cursor from the previous request.

limit_per_pageinteger | null

The page size requested.

account_addressAddressrequired

Bech32m-encoded human readable version of the address.

Response

200OK

Account resource preferences page

4XX

Client-originated request error

Authorization

api-keyAuthapiKey in header

Get Account authorized depositors

POST
https://xrd.nownodes.io/core/state/account/page/authorized-depositors

Returns paginable collection of authorized depositors for given account.

Body

application/json

defines upper boundary (inclusive) for queried data. i.e { "at_state_version" = {"epoch" = 10} }, will return data till 10 epoch.

at_ledger_stateLedgerStateSelector | null

Optional. 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.

Show child attributes
state_versioninteger<int64> | null[1, 100000000000000]

If provided, the latest ledger state lower than or equal to the given state version is returned.

timestampstring<date-time> | null

If provided, the latest ledger state lower than or equal to the given round timestamp is returned.

epochinteger<int64> | null[0, 10000000000]

If provided, the ledger state lower than or equal to the given epoch at round 0 is returned.

roundinteger<int64> | null[0, 10000000000]

If provided must be accompanied with epoch, the ledger state lower than or equal to the given epoch and round is returned.

cursorstring | null

This cursor allows forward pagination, by providing the cursor from the previous request.

limit_per_pageinteger | null

The page size requested.

account_addressAddressrequired

Bech32m-encoded human readable version of the address.

Response

200OK

Account resource preferences page

4XX

Client-originated request error

Authorization

api-keyAuthapiKey in header

Get Package Blueprints Page

POST
https://xrd.nownodes.io/core/state/package/page/blueprints

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

application/json

defines upper boundary (inclusive) for queried data. i.e { "at_state_version" = {"epoch" = 10} }, will return data till 10 epoch.

at_ledger_stateLedgerStateSelector | null

Optional. 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.

Show child attributes
state_versioninteger<int64> | null[1, 100000000000000]

If provided, the latest ledger state lower than or equal to the given state version is returned.

timestampstring<date-time> | null

If provided, the latest ledger state lower than or equal to the given round timestamp is returned.

epochinteger<int64> | null[0, 10000000000]

If provided, the ledger state lower than or equal to the given epoch at round 0 is returned.

roundinteger<int64> | null[0, 10000000000]

If provided must be accompanied with epoch, the ledger state lower than or equal to the given epoch and round is returned.

cursorstring | null

This cursor allows forward pagination, by providing the cursor from the previous request.

limit_per_pageinteger | null

The page size requested.

package_addressAddressrequired

Bech32m-encoded human readable version of the address.

Response

200OK

Package Blueprints (paginated)

4XX

Client-originated request error

Authorization

api-keyAuthapiKey in header

Get Package Codes Page

POST
https://xrd.nownodes.io/core/state/package/page/codes

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

application/json

defines upper boundary (inclusive) for queried data. i.e { "at_state_version" = {"epoch" = 10} }, will return data till 10 epoch.

at_ledger_stateLedgerStateSelector | null

Optional. 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.

Show child attributes
state_versioninteger<int64> | null[1, 100000000000000]

If provided, the latest ledger state lower than or equal to the given state version is returned.

timestampstring<date-time> | null

If provided, the latest ledger state lower than or equal to the given round timestamp is returned.

epochinteger<int64> | null[0, 10000000000]

If provided, the ledger state lower than or equal to the given epoch at round 0 is returned.

roundinteger<int64> | null[0, 10000000000]

If provided must be accompanied with epoch, the ledger state lower than or equal to the given epoch and round is returned.

cursorstring | null

This cursor allows forward pagination, by providing the cursor from the previous request.

limit_per_pageinteger | null

The page size requested.

package_addressAddressrequired

Bech32m-encoded human readable version of the address.

Response

200OK

Package Blueprints (paginated)

4XX

Client-originated request error

Authorization

api-keyAuthapiKey in header

Stream

To query the transaction or proof stream of the ledger.

Get Transactions Stream

POST
https://xrd.nownodes.io/core/stream/transactions

Returns transactions which have been committed to the ledger. Check detailed documentation for brief explanation

Body

application/json

defines upper boundary (inclusive) for queried data. i.e { "at_state_version" = {"epoch" = 10} }, will return data till 10 epoch.

at_ledger_stateLedgerStateSelector | null

Optional. 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.

Show child attributes
state_versioninteger<int64> | null[1, 100000000000000]

If provided, the latest ledger state lower than or equal to the given state version is returned.

timestampstring<date-time> | null

If provided, the latest ledger state lower than or equal to the given round timestamp is returned.

epochinteger<int64> | null[0, 10000000000]

If provided, the ledger state lower than or equal to the given epoch at round 0 is returned.

roundinteger<int64> | null[0, 10000000000]

If provided must be accompanied with epoch, the ledger state lower than or equal to the given epoch and round is returned.

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 | null

Optional. 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.

Show child attributes
state_versioninteger<int64> | null[1, 100000000000000]

If provided, the latest ledger state lower than or equal to the given state version is returned.

timestampstring<date-time> | null

If provided, the latest ledger state lower than or equal to the given round timestamp is returned.

epochinteger<int64> | null[0, 10000000000]

If provided, the ledger state lower than or equal to the given epoch at round 0 is returned.

roundinteger<int64> | null[0, 10000000000]

If provided must be accompanied with epoch, the ledger state lower than or equal to the given epoch and round is returned.

cursorstring | null

This cursor allows forward pagination, by providing the cursor from the previous request.

limit_per_pageinteger | null

The page size requested.

kind_filterstringUserEpochChangeAll

Limit 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>
Show child attributes
eventstringDepositWithdrawalrequired
emitter_addressAddress

Bech32m-encoded human readable version of the address.

resource_addressAddress

Bech32m-encoded human readable version of the address.

accounts_with_manifest_owner_method_callsArray<Address>
accounts_without_manifest_owner_method_callsArray<Address>
manifest_class_filterobject
Show child attributes
classManifestClassGeneralTransferPoolContributionPoolRedemptionValidatorStakeValidatorUnstakeValidatorClaimAccountDepositSettingsUpdaterequired

High-level manifest class type:

  • General: A general manifest that involves any amount of arbitrary components and packages where nothing more concrete can be said about the manifest and its nature.
  • Transfer: A manifest of a 1-to-1 transfer to a one-to-many transfer of resources.
  • PoolContribution: A manifest that contributed some amount of resources to a liquidity pool that can be a one-resource pool, two-resource pool, or a multi-resource pool.
  • PoolRedemption: A manifest that redeemed resources from a liquidity pool. Similar to contributions, this can be any of the three pool blueprints available in the pool package.
  • ValidatorStake: A manifest where XRD is staked to one or more validators.
  • ValidatorUnstake: A manifest where XRD is unstaked from one or more validators.
  • ValidatorClaim: A manifest where XRD is claimed from one or more validators.
  • AccountDepositSettingsUpdate: A manifest that updated the deposit settings of the account.
match_only_most_specificbooleanfalse
orderstringAscDesc

Configures the order of returned result set. Defaults to desc.

opt_insTransactionDetailsOptIns
Show child attributes
raw_hexbooleanfalse

if set to true, raw transaction hex is returned.

receipt_state_changesbooleanfalse

if set to true, state changes inside receipt object are returned.

receipt_fee_summarybooleanfalse

if set to true, fee summary inside receipt object is returned.

receipt_fee_sourcebooleanfalse

if set to true, fee source inside receipt object is returned.

receipt_fee_destinationbooleanfalse

if set to true, fee destination inside receipt object is returned.

receipt_costing_parametersbooleanfalse

if set to true, costing parameters inside receipt object is returned.

receipt_eventsbooleanfalse

if set to true, events inside receipt object is returned.

receipt_outputbooleantrue

(true by default) if set to true, transaction receipt output is returned.

affected_global_entitiesbooleanfalse

if set to true, all affected global entities by given transaction are returned.

manifest_instructionsbooleanfalse

if set to true, manifest instructions for user transactions are returned.

balance_changesbooleanfalse

if set to true, returns the fungible and non-fungible balance changes.

Warning! This opt-in might be missing for recently committed transactions, in that case a null value will be returned. Retry the request until non-null value is returned.

Response

200OK

Transactions (paginated)

4XX

Client-originated request error

Authorization

api-keyAuthapiKey in header

Statistics

Calculate particular statistics based on current or historic ledger state.

Get Validators Uptime

POST
https://xrd.nownodes.io/core/statistics/validators/uptime

Returns validators uptime data for time range limited by from_state_version and at_state_version.

Body

application/json

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 | null

Optional. 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.

Show child attributes
state_versioninteger<int64> | null[1, 100000000000000]

If provided, the latest ledger state lower than or equal to the given state version is returned.

timestampstring<date-time> | null

If provided, the latest ledger state lower than or equal to the given round timestamp is returned.

epochinteger<int64> | null[0, 10000000000]

If provided, the ledger state lower than or equal to the given epoch at round 0 is returned.

roundinteger<int64> | null[0, 10000000000]

If provided must be accompanied with epoch, the ledger state lower than or equal to the given epoch and round is returned.

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 | null

Optional. 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.

Show child attributes
state_versioninteger<int64> | null[1, 100000000000000]

If provided, the latest ledger state lower than or equal to the given state version is returned.

timestampstring<date-time> | null

If provided, the latest ledger state lower than or equal to the given round timestamp is returned.

epochinteger<int64> | null[0, 10000000000]

If provided, the ledger state lower than or equal to the given epoch at round 0 is returned.

roundinteger<int64> | null[0, 10000000000]

If provided must be accompanied with epoch, the ledger state lower than or equal to the given epoch and round is returned.

validator_addressesArray<Address>

Response

200OK

Validators Uptime

4XX

Client-originated request error

Authorization

api-keyAuthapiKey in header