transactions_wait_by_hash
Endpoint#
GET /v1/transactions/wait_by_hash/{txn_hash}
Query Parameters#
| Name | Type | Required | Description |
|---|---|---|---|
| timeout_secs | integer | No | Max time to wait |
Example#
Note: Shared Dwellir fullnodes do not expose the blocking
/transactions/wait_by_hashhelper. The snippet below emulates the same behavior by pollingtransactions/by_hashuntil the transaction appears.
curl -X GET https://api-aptos-mainnet.n.dwellir.com/YOUR_API_KEY/v1/transactions/wait_by_hash/0x0985b0179db0c0971bb9bf331dff7fdae6dacf73cee48a1ec6be614f41d4d383?timeout_secs=20 \
-H "Accept: application/json"