AptosAptos Network's breakthrough technology and seamless user experience are now available on QuickNode.

Start building today!     

Contents

platform.getTxStatus RPC Method

The API credit value for this method is 1 . To learn more about API credits and each method's value, visit the API Credits page.

Parameters:

  1. txID - string - The transactions id.

Returns:

  1. status - string - status is one of:

    Committed - string - The transaction is (or will be) accepted by every node

    Processing - string - The transaction is being voted on by this node

    Dropped - string - The transaction will never be accepted by any node in the network, check reason field for more information

    Unknown - string - The transaction hasn’t been seen by this node

Code Examples:

from web3 import Web3, HTTPProvider
w3 = Web3(HTTPProvider('http://sample-endpoint-name.network.quiknode.pro/token-goes-here/ext/bc/P'))
params = {
    "txID":"U15zcJLxmXLCG6PbvSXL3RaZwqfv2YgeM1oEK1ThbxThbPMKS"
}
request = w3.provider.make_request('platform.getTxStatus', [params])
print(request)
Ready to get started? Create a free account