Transactions

Wait for transaction by hash

Changed on

Same as /transactions/by_hash, but will wait for a pending transaction to be committed. To be used as a long poll optimization by clients, to reduce latency caused by polling. The "long" poll is generally a second or less but dictated by the server; the client must deal with the result as if the request was a normal /transactions/by_hash request, e.g., by retrying if the transaction is pending.

get/transactions/wait_by_hash/{txn_hash}

Request

  • Base URL
    /v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /v1/transactions/wait_by_hash/{txn_hash}
  • Auth
    none declared

Path parameters

txn_hashstring required

Hash of transaction to retrieve

Response

Transaction required(unresolved $ref)

Changes

    • breaking

      the mandatory response header X-APTOS-BLOCK-HEIGHT removed for the status 200

    • breaking

      the mandatory response header X-APTOS-CHAIN-ID removed for the status 200

    • breaking

      the mandatory response header X-APTOS-EPOCH removed for the status 200

    • breaking

      the mandatory response header X-APTOS-LEDGER-OLDEST-VERSION removed for the status 200

    • breaking

      the mandatory response header X-APTOS-LEDGER-TIMESTAMPUSEC removed for the status 200

    • breaking

      the mandatory response header X-APTOS-LEDGER-VERSION removed for the status 200

    • breaking

      the mandatory response header X-APTOS-OLDEST-BLOCK-HEIGHT removed for the status 200

    • warning

      the optional response header X-APTOS-BLOCK-HEIGHT removed for the status 400

    • warning

      the optional response header X-APTOS-BLOCK-HEIGHT removed for the status 403

    • warning

      the optional response header X-APTOS-BLOCK-HEIGHT removed for the status 404

    • warning

      the optional response header X-APTOS-BLOCK-HEIGHT removed for the status 410

    • warning

      the optional response header X-APTOS-BLOCK-HEIGHT removed for the status 500

    • warning

      the optional response header X-APTOS-BLOCK-HEIGHT removed for the status 503

    • warning

      the optional response header X-APTOS-CHAIN-ID removed for the status 400

    • warning

      the optional response header X-APTOS-CHAIN-ID removed for the status 403

    • warning

      the optional response header X-APTOS-CHAIN-ID removed for the status 404

    • warning

      the optional response header X-APTOS-CHAIN-ID removed for the status 410

    • warning

      the optional response header X-APTOS-CHAIN-ID removed for the status 500

    • warning

      the optional response header X-APTOS-CHAIN-ID removed for the status 503

    • warning

      the optional response header X-APTOS-CURSOR removed for the status 200

    • warning

      the optional response header X-APTOS-EPOCH removed for the status 400

    • warning

      the optional response header X-APTOS-EPOCH removed for the status 403

    • warning

      the optional response header X-APTOS-EPOCH removed for the status 404

    • warning

      the optional response header X-APTOS-EPOCH removed for the status 410

    • warning

      the optional response header X-APTOS-EPOCH removed for the status 500

    • warning

      the optional response header X-APTOS-EPOCH removed for the status 503

    • warning

      the optional response header X-APTOS-GAS-USED removed for the status 200

    • warning

      the optional response header X-APTOS-GAS-USED removed for the status 400

    • warning

      the optional response header X-APTOS-GAS-USED removed for the status 403

    • warning

      the optional response header X-APTOS-GAS-USED removed for the status 404

    • warning

      the optional response header X-APTOS-GAS-USED removed for the status 410

    • warning

      the optional response header X-APTOS-GAS-USED removed for the status 500

    • warning

      the optional response header X-APTOS-GAS-USED removed for the status 503

    • warning

      the optional response header X-APTOS-LEDGER-OLDEST-VERSION removed for the status 400

    • warning

      the optional response header X-APTOS-LEDGER-OLDEST-VERSION removed for the status 403

    • warning

      the optional response header X-APTOS-LEDGER-OLDEST-VERSION removed for the status 404

    • warning

      the optional response header X-APTOS-LEDGER-OLDEST-VERSION removed for the status 410

    • warning

      the optional response header X-APTOS-LEDGER-OLDEST-VERSION removed for the status 500

    • warning

      the optional response header X-APTOS-LEDGER-OLDEST-VERSION removed for the status 503

    • warning

      the optional response header X-APTOS-LEDGER-TIMESTAMPUSEC removed for the status 400

    • warning

      the optional response header X-APTOS-LEDGER-TIMESTAMPUSEC removed for the status 403

    • warning

      the optional response header X-APTOS-LEDGER-TIMESTAMPUSEC removed for the status 404

    • warning

      the optional response header X-APTOS-LEDGER-TIMESTAMPUSEC removed for the status 410

    • warning

      the optional response header X-APTOS-LEDGER-TIMESTAMPUSEC removed for the status 500

    • warning

      the optional response header X-APTOS-LEDGER-TIMESTAMPUSEC removed for the status 503

    • warning

      the optional response header X-APTOS-LEDGER-VERSION removed for the status 400

    • warning

      the optional response header X-APTOS-LEDGER-VERSION removed for the status 403

    • warning

      the optional response header X-APTOS-LEDGER-VERSION removed for the status 404

    • warning

      the optional response header X-APTOS-LEDGER-VERSION removed for the status 410

    • warning

      the optional response header X-APTOS-LEDGER-VERSION removed for the status 500

    • warning

      the optional response header X-APTOS-LEDGER-VERSION removed for the status 503

    • warning

      the optional response header X-APTOS-OLDEST-BLOCK-HEIGHT removed for the status 400

    • warning

      the optional response header X-APTOS-OLDEST-BLOCK-HEIGHT removed for the status 403

    • warning

      the optional response header X-APTOS-OLDEST-BLOCK-HEIGHT removed for the status 404

    • warning

      the optional response header X-APTOS-OLDEST-BLOCK-HEIGHT removed for the status 410

    • warning

      the optional response header X-APTOS-OLDEST-BLOCK-HEIGHT removed for the status 500

    • warning

      the optional response header X-APTOS-OLDEST-BLOCK-HEIGHT removed for the status 503

    • breaking

      added to the //////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////////// response property oneOf list for the response status

    • breaking

      added to the ////////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////// response property oneOf list for the response status

    • breaking

      added to the ////////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////// response property oneOf list for the response status

    • breaking

      added to the //////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////////// response property oneOf list for the response status

    • breaking

      added to the ////////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////// response property oneOf list for the response status

    • breaking

      added to the ////////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////// response property oneOf list for the response status

    • info

      added abstract_signature discriminator mapping keys to the //////////////// response property for the response status

    • info

      added abstract_signature discriminator mapping keys to the ///////////////////// response property for the response status

    • info

      added abstract_signature discriminator mapping keys to the ////////////////// response property for the response status

    • info

      added abstract_signature discriminator mapping keys to the ///////////////// response property for the response status

    • info

      added abstract_signature discriminator mapping keys to the ////////////////// response property for the response status

    • info

      added abstract_signature discriminator mapping keys to the ///////////////// response property for the response status

    • info

      added abstract_signature discriminator mapping keys to the //////////////// response property for the response status

    • info

      added abstract_signature discriminator mapping keys to the ///////////////////// response property for the response status

    • info

      added abstract_signature discriminator mapping keys to the ////////////////// response property for the response status

    • info

      added abstract_signature discriminator mapping keys to the ///////////////// response property for the response status

    • info

      added abstract_signature discriminator mapping keys to the ////////////////// response property for the response status

    • info

      added abstract_signature discriminator mapping keys to the ///////////////// response property for the response status

    • info

      removed abstraction_signature discriminator mapping keys from the //////////////// response property for the response status

    • info

      removed abstraction_signature discriminator mapping keys from the ///////////////////// response property for the response status

    • info

      removed abstraction_signature discriminator mapping keys from the ////////////////// response property for the response status

    • info

      removed abstraction_signature discriminator mapping keys from the ///////////////// response property for the response status

    • info

      removed abstraction_signature discriminator mapping keys from the ////////////////// response property for the response status

    • info

      removed abstraction_signature discriminator mapping keys from the ///////////////// response property for the response status

    • info

      removed abstraction_signature discriminator mapping keys from the //////////////// response property for the response status

    • info

      removed abstraction_signature discriminator mapping keys from the ///////////////////// response property for the response status

    • info

      removed abstraction_signature discriminator mapping keys from the ////////////////// response property for the response status

    • info

      removed abstraction_signature discriminator mapping keys from the ///////////////// response property for the response status

    • info

      removed abstraction_signature discriminator mapping keys from the ////////////////// response property for the response status

    • info

      removed abstraction_signature discriminator mapping keys from the ///////////////// response property for the response status

    • info

      removed from the //////////////// response property oneOf list for the response status

    • info

      removed from the ///////////////////// response property oneOf list for the response status

    • info

      removed from the ////////////////// response property oneOf list for the response status

    • info

      removed from the ///////////////// response property oneOf list for the response status

    • info

      removed from the ////////////////// response property oneOf list for the response status

    • info

      removed from the ///////////////// response property oneOf list for the response status

    • info

      removed from the //////////////// response property oneOf list for the response status

    • info

      removed from the ///////////////////// response property oneOf list for the response status

    • info

      removed from the ////////////////// response property oneOf list for the response status

    • info

      removed from the ///////////////// response property oneOf list for the response status

    • info

      removed from the ////////////////// response property oneOf list for the response status

    • info

      removed from the ///////////////// response property oneOf list for the response status