List Zilliqa Transactions By Block Height

Through this endpoint customers can list transactions on the Zilliqa blockchain by the block height parameter.

List of Results - This endpoint returns a list of data of the same type which means pagination is applicable. GET /blockchain-data/zilliqa-specific/{network}/blocks/height/{blockHeight}/transactions

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
    blockHeight 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 : 1250392

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.

  • Optional
    limit integer

    Defines how many items should be returned in the response per page basis.

    Default : 50
    Example : 50
  • Optional
    offset integer

    The starting index of the response items, i.e. where the response should start listing the returned items.

    Default : 0
    Example : 10

Response schema

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

The request was successfully executed.

  • Object :

  • Required
    apiVersion string

    Specifies the version of the API that incorporates this endpoint.

    Example : 2.0
  • 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 : You can add any text here
  • Required
    data object
    • Required
      offset integer

      The starting index of the response items, i.e. where the response should start listing the returned items.

      Example : 0
    • Required
      limit integer

      Defines how many items should be returned in the response per page basis.

      Example : 50
    • Required
      total integer

      Defines the total number of items returned in the response.

      Example : 100
    • Required
      items array
      Example : Array ( )
      • 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 : 550000
      • 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 : 958
      • 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 : 0x3160ca05ac12f60023de6b6987596eccbf084629f1a92b59534c5c021bf27041
      • Required
        nonce integer

        Represents a random value that can be adjusted to satisfy the Proof of Work.

        Example : 13
      • Required
        recipients array

        Defines an object array of the transaction recipients.

        • Required
          address string

          Represents the recipient's address.

          Example : zil1v25at4s3eh9w34uqqhe3vdvfsvcwq6un3fupc2
        • Required
          amount string

          Represents the received amount.

          Example : 0
      • Required
        senders array

        Represents an object of addresses that provide the funds.

        • Required
          address string

          Represents the sender's address.

          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
        transactionHash string

        Represents the hash of the transaction, which is its unique identifier.

        Example : 0xf4a847a1489a043ee509d5d7df48f2bf7ba1b15354ed14600b035ff2f7670203
      • 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 : 1 Credits For 1 Result(s)

Try it out

Request Example

GET
https://rest.cryptoapis.io/v2/blockchain-data/zilliqa-specific/mainnet/blocks/height/1250392/transactions?limit=50&offset=10
Headers
Host: https://rest.cryptoapis.io/v2
Content-Type: application/json
X-API-Key: my-api-key

Response Example

{
    "apiVersion": "2.0",
    "requestId": "601c1710034ed6d407996b30",
    "context": "You can add any text here",
    "data": {
        "offset": 0,
        "limit": 50,
        "total": 100,
        "items": [
            {
                "fee": {
                    "amount": "0.000235",
                    "unit": "ZIL"
                },
                "gasLimit": 550000,
                "gasPrice": 2994782927,
                "gasUsed": 958,
                "minedInBlockHash": "0x3160ca05ac12f60023de6b6987596eccbf084629f1a92b59534c5c021bf27041",
                "nonce": 13,
                "recipients": [
                    {
                        "address": "zil1v25at4s3eh9w34uqqhe3vdvfsvcwq6un3fupc2",
                        "amount": "0"
                    }
                ],
                "senders": [
                    {
                        "address": "zil1uhn7627k6xl5f03sq6grje5lk3gy0kf5aptz83",
                        "amount": "0"
                    }
                ],
                "timestamp": 1582202940,
                "transactionHash": "0xf4a847a1489a043ee509d5d7df48f2bf7ba1b15354ed14600b035ff2f7670203",
                "transactionIndex": 0,
                "transactionStatus": "0"
            }
        ]
    }
}