PreçosGitHubPainel

Aptos

/v1/transactions/by_version/{txn_version}30 créditos

Get transaction by version

Rede: apt

Parâmetros

NomeTipoDescrição
txn_versionstring (u64)Path. Ledger version of the transaction.

Retorno

Tipo

object

Committed transaction with a type discriminator plus version, hash, success, vm_status, gas_used, events, timestamp. Returns 410 if the version is pruned.

Exemplos de código

curl 'https://holy-burned-sky-apt-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7/v1/transactions/by_version/{txn_version}'