Retrieve Transaction by Date

var Blockchain = '0x714d2ac07a826b66ac56752eebd7c77b58d2ee842e523d913fd0ef06e6bdfcae';
var StartDate = 'YYYY:MM:DD-hh:mm:ss'; // Start Date
var EndDate = 'YYYY:MM:DD-hh:mm:ss'; // End Date
var Address = '0x...'; // Wallet Address (From/To)

Circular.GetTransactionbyDate(Blockchain, Address, StartDate, EndDate)
  .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