ТарифыGitHubКабинет

Aptos

/v1/transactions/wait_by_hash/{txn_hash}Кредиты: 40

Wait for transaction by hash

Сеть: apt

Параметры

ИмяТипОписание
txn_hashstringPath. Transaction hash (hex string). The node holds the request for about a second while the transaction is still pending.

Результат

Тип

object

Same as GET /v1/transactions/by_hash/{txn_hash}: the transaction, which may still be pending (type pending_transaction) if it was not committed during the wait; retry in that case.

Примеры кода

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