API Reference

Retrieve Account Transactions

Returns all transactions of any given address on Monad Testnet.

📘

Supported on Monad Testnet.

🚧

The Account Transaction API on Monad is currently available to our paid Members. Free tier members can also enjoy a trial period with 30 free calls. If you're interested, please register directly through here. Please note that the API Key can also be used for your RPC endpoint.

Parameter

  • address, string - a 42 character address with '0x' as prefix. The wallet address to check for transactions.
  • cursor, string - next page cursor.
  • limit, int32 - the maximum number of results to return per page. Defaults to 20, maximum is 50.

Response

  • code, number - response status code, e.g., 0 for success.
  • reason, string - reason message if there's an error.
  • message, string - response message, e.g., OK.
  • result, object - result object containing transaction data.
    • data, array object - an array of transaction objects.
      • idStr, string - transaction ID string.
      • hash, string - the transaction hash.
      • blockHash, string - the hash of the block in which the transaction was included.
      • blockNumber, number - the block number in which the transaction was included.
      • timestamp, number - the timestamp of the transaction in milliseconds.
      • from, string - the sender address.
      • to, string - the recipient address.
      • value, string - the value transferred in the transaction.
      • transactionFee, number - the transaction fee.
      • gasUsed, number - the amount of gas used for the transaction.
      • nonce, number - the transaction nonce.
      • transactionIndex, number - the index of the transaction in the block.
      • contractAddress, string - the address of the contract if the transaction created one.
      • status, number - transaction status (1 for success, 0 for failed).
      • methodID, string - the method ID of the transaction.
      • fromAddress, object - details about the sender address.
        • address, string - the sender's address.
        • type, string - the address type.
        • isContract, boolean - whether the address is a contract.
        • verified, boolean - whether the address is verified.
        • ens, string - the ENS name associated with the address.
        • name, string - the name associated with the address.
        • isContractCreated, boolean - whether the address was created as a contract.
      • toAddress, object - details about the recipient address.
        • Same structure as fromAddress.
    • nextPageCursor, number - the cursor for fetching the next page of results.
    • total, number - the total number of transactions associated with the wallet.
Language
Credentials
Header
Click Try It! to start a request and see the response here!