AptosAptos Network's breakthrough technology and seamless user experience are now available on QuickNode.
Start building today!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:
Returns:
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)
const ethers = require("ethers"); (async () => { const provider = new ethers.providers.JsonRpcProvider( "http://sample-endpoint-name.network.quiknode.pro/token-goes-here/ext/bc/P" ); const params = { "txID": "U15zcJLxmXLCG6PbvSXL3RaZwqfv2YgeM1oEK1ThbxThbPMKS", }; const result = await provider.send("platform.getTxStatus", params); console.log(result); })();
curl --location --request POST http://sample-endpoint-name.network.quiknode.pro/token-goes-here/ext/bc/P \ --header 'Content-Type: application/json' \ --data-raw '{ "jsonrpc":"2.0", "id" :1, "method" :"platform.getTxStatus", "params" :{ "txID":"U15zcJLxmXLCG6PbvSXL3RaZwqfv2YgeM1oEK1ThbxThbPMKS" } }'