Retrieve Transaction by ID
var Blockchain = '0x714d2ac07a826b66ac56752eebd7c77b58d2ee842e523d913fd0ef06e6bdfcae';
var Start = 0; // If Start = 0 it starts from the last block minted
var End = 100; // last block - 100
var TxID = '0x...'; // Transaction ID
Circular.GetTransactionbyID(Blockchain, TxID, Start, End)
.then(data => {
// do something with the data in JSON format
});
Output
{
"Result": 200, // Success
"Response": {
"ID": "b36112b5...", // Tx ID
"From": "d5b18d8e...", // Tx From Address
"To": "d5b18d8e...", // Tx To
"Timestamp": "2024:05:01-16:45:12", // Tx Timestamp
"Type": "C_TYPE_REGISTERWALLET", // Tx Type
"Payload": "7b22416374...", // Tx Payload
"Nonce": "0", // from Wallet Nonce
"OSignature": "", // From Signature
"NodeID": "ca7ff7cc...", // Receiving Node
"GasLimit": 0, // Gas Limit (Smart Contract)
"NagFee": 0, // NAG Fee
"BroadcastFee": 0, // Broadcast Fee
"ProcessingFee": 0, // Processing Fee
"DeveloperFee": 0, // Developer Fee
"ProtocolFee": 0, // Protocol Fee
"Instructions": 0, // Number of Contract Instructions
"Status": "Executed" // Tx Status
}
}
Last updated