Get Zilliqa Transaction Details by Transaction ID

Through this endpoint customers can obtain transaction details on the Zilliqa blockchain by providing a Transaction ID parameter.

Single Result - This endpoint returns only one single result. GET /blockchain-data/zilliqa-specific/{network}/transactions/{transactionHash}

Path Parameters

  • Required
    network string

    Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - "mainnet" is the live network with actual data while networks like "testnet", "ropsten" are test networks.

    Example : mainnet
    Possible Values : mainnet
  • Required
    transactionHash string

    String identifier of the transaction

    Example : 0xe649afbe2849c70a7a8b3087bee2c7b2fa0b6b77ab658b4fff390a1d06f0a8bc

Query parameters

  • Optional
    context string

    In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context is specified by the user.

    Example : yourExampleString

Response schema

200 400 401 402 403 404 409 415 422 429 500
HTTP Status Code: 200
Content-Type: application/json

The request has been successful.

  • Object :

  • Required
    apiVersion string

    Specifies the version of the API that incorporates this endpoint.

    Example : 2021-03-20
  • Required
    requestId string

    Defines the ID of the request. The requestId is generated by Crypto APIs and it's unique for every request.

    Example : 601c1710034ed6d407996b30
  • Optional
    context string

    In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context is specified by the user.

    Example : yourExampleString
  • Required
    data object
    • Required
      item object
      • Required
        fee object

        Represents the transaction fee.

        • Required
          amount string

          Represents the amount of the transaction fee.

          Example : 0.000235
        • Required
          unit string

          Represents the unit of the transaction fee.

          Example : ZIL
      • Required
        gasLimit integer

        Represents the maximum amount of gas allowed in the block in order to determine how many transactions it can fit.

        Example : 552020
      • Required
        gasPrice integer

        Defines the price of the gas.

        Example : 2994782927
      • Required
        gasUsed integer

        Defines how much of the gas for the block has been used.

        Example : 24673
      • Required
        minedInBlockHash string

        Represents the hash of the block, which is its unique identifier. It represents a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm.

        Example : 0x5ba627aed1ff0f5480694e994ee03a6ec7b5a6fa96be899c84d52725f9830891
      • Required
        minedInBlockHeight integer

        Represents the number of blocks in the blockchain preceding this specific block. Block numbers have no gaps. A blockchain usually starts with block 0 called the "Genesis block".

        Example : 1250207
      • Required
        nonce integer

        Represents the sequential running number for an address, starting from 0 for the first transaction. E.g., if the nonce of a transaction is 10, it would be the 11th transaction sent from the sender's address.

        Example : 13
      • Required
        recipients array

        Represents an object of addresses that receive the transactions.

        • Required
          address string

          Represents the hash of the address that receives the funds.

          Example : zil1v25at4s3eh9w34uqqhe3vdvfsvcwq6un3fupc2
        • Required
          amount string

          Defines the amount of the received funds as a string.

          Example : 0
      • Required
        senders array

        Represents an object of addresses that provide the funds.

        • Required
          address string

          Represents the hash of the address that provides the funds.

          Example : zil1uhn7627k6xl5f03sq6grje5lk3gy0kf5aptz83
        • Required
          amount string

          Represents the total amount sent by this address including the fee.

          Example : 0
      • Required
        timestamp integer

        Defines the exact date/time when this block was mined in Unix Timestamp.

        Example : 1582202940
      • Required
        transactionIndex integer

        Defines the numeric representation of the transaction index.

        Example : 0
      • Required
        transactionStatus string

        Defines the status of the transaction, whether it is e.g. pending or complete.

        Example : 0

Credits Cost : 100 Credits For 1 Result(s)

Try it out

Request Example

GET
https://rest.cryptoapis.io/blockchain-data/zilliqa-specific/mainnet/transactions/0xe649afbe2849c70a7a8b3087bee2c7b2fa0b6b77ab658b4fff390a1d06f0a8bc?context=yourExampleString
Headers
Content-Type: application/json
X-API-Key: my-api-key

Response Example

{
    "apiVersion": "2021-03-20",
    "requestId": "601c1710034ed6d407996b30",
    "context": "yourExampleString",
    "data": {
        "item": {
            "fee": {
                "amount": "0.000235",
                "unit": "ZIL"
            },
            "gasLimit": 552020,
            "gasPrice": 2994782927,
            "gasUsed": 24673,
            "minedInBlockHash": "0x5ba627aed1ff0f5480694e994ee03a6ec7b5a6fa96be899c84d52725f9830891",
            "minedInBlockHeight": 1250207,
            "nonce": 13,
            "recipients": [
                {
                    "address": "zil1v25at4s3eh9w34uqqhe3vdvfsvcwq6un3fupc2",
                    "amount": "0"
                }
            ],
            "senders": [
                {
                    "address": "zil1uhn7627k6xl5f03sq6grje5lk3gy0kf5aptz83",
                    "amount": "0"
                }
            ],
            "timestamp": 1582202940,
            "transactionIndex": 0,
            "transactionStatus": "0"
        }
    }
}