Marketplace has launched, further enabling blockchain developers! Learn more

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":"2C3AVShejyq6mLhEXvEGCnpaQi8tRwudBhSbT34hFiytffEFoe"
}
request = w3.provider.make_request('platform.getTxStatus', [params])
print(request)
Ready to get started? Create a free account