Avascriptions
  • Avascriptions
    • Depoly
    • Mint
    • Transfer
  • ASC-20
    • Deploy
    • Mint
    • Transfer
    • List
    • Transaction process
    • Index Rules
  • ASIPS
    • What are ASIPs?
    • Accepted ASIPs
      • ASIP-1: Smart Contract Avascription ASC-20 Transfers
      • ASIP-2: Safe Trustless Smart Contract ASC20-Token Escrow
  • Marketplace
    • Verified Badge
  • Developer Service
    • ASC-20
      • Get ASC-20 List
      • Get ASC-20 Ticker Info
      • Get ASC-20 Balance Of The Address
      • Get ASC-20 Holders
      • Get ASC-20 Ticker History
      • Get ASC-20 History By Block
      • Get ASC-20 Ticker Last History
      • Get ASC-20 Records By TxId
      • Get Address ASC-20 History
      • Get Address ASC-20 Last History
    • Marketplace
      • Get ASC-20 Market List
      • Get ASC-20 Market Info
    • Legal Disclaimer
  • Official Links
Powered by GitBook
On this page
  1. Developer Service
  2. ASC-20

Get ASC-20 Records By TxId

Get ASC-20 records by transaction id.

POST https://open-api.avascriptions.com/v1/asc20/records-by-trxid

Query Parameters

Name
Type
Description

txid*

string

Transaction id

{
    "status": 200,
    "data": [
        {
            "id": 1131,
            "tick": "avav",
            "operation": "transfer",
            "from": "0xaaaaa6972e56c3c12345caaaaaabaaaaa9999999",
            "to": "0xbaaaa6972e56c3c12345caaaaaabaaaaa9999910",
            "amount": "69696969",
            "valid": 1,
            "block": "28752030",
            "hash": "0xe73bd4c4ccc8bd86cbe361ff05815d077a97d7f7bcfd4f46bd46ccc20d225811",
            "timestamp": 1703218684
        }
    ]
}

Please make sure that records's valid is 1, if it is -1 it means that the operation is not successful, it may be that the balance is not enough or other parameters are wrong.

Because some operation events (e.g., transfers) are emited by contracts, there may be multiple ASC20 records within the same transaction.

PreviousGet ASC-20 Ticker Last HistoryNextGet Address ASC-20 History

Last updated 1 year ago