AIXChain Blockchain Document
  • INTRODUCTION
    • Getting started with smart contract development
    • Build a Decentralized Library
  • AIXC AND ARC TOKEN
    • ARC
      • ARX Transfer
      • Query ARX balance
    • ARC-10
      • Issue ARC-10 token
      • Participate ARC-10
      • ARC-10 Transfer
      • Query ARC-10 balance
      • ARC-10 Transfer in Smart Contracts
    • ARC-20
      • Protocol Interface
      • Contract Example
      • Issuing ARC-20 tokens tutorial
    • ARC-721
      • Protocol Interface
      • Contract Example
  • ACCOUNT MODEL
  • BUILD NODE
    • How to setup a Super node to produce Blocks
      • Recommended configuration & Environment
      • Example cloud services
      • Deployment guide
    • Super Representative
      • How to become a SR
      • Super Representatives Election
      • How to change witness name
  • HTTP API
    • Introduction
    • API Signature and Broadcast Flow
    • API List
      • Full Node API Overview
      • Address Utilities
        • GenerateAddress
        • CreateAddress
        • ValidateAddress
      • Accounts
        • CreateAccount
        • GetAccount
        • UpdateAccount
        • AccountPermissionUpdate
        • GetAccountBalance
      • Account Resources
        • GetAccountResource
        • GetAccountNet
        • FreezeBalance
        • UnfreezeBalance
        • GetDelegatedResource
        • GetDelegatedResourceAccountIndex
      • Query the Network
        • GetBlockByNum
        • GetBlockById
        • GetBlockByLatestNum
        • GetBlockByLimitNext
        • GetNowBlock
        • GetTransactionById
        • GetTransactionInfoById
        • GetTransactionInfoByBlockNum
        • ListNodes
        • GetNodeInfo
        • GetChainParameters
        • GetBlockBalance
      • ARC10 Token
        • GetAssetIssueByAccount
        • GetAssetIssueById
        • GetAssetIssueList
        • GetPaginatedAssetIssueList
        • TransferAsset
        • CreateAssetIssue
        • UnfreezeAsset
        • UpdateAsset
      • Transactions
        • GetContract
        • GetTransactionSign
        • BroadcastTransaction
        • BroadcastHex
        • EasyTransfer
        • EasyTransferByPrivate
        • CreateTransaction
      • Voting & SRs
        • ListWitnesses
        • CreateWitness
        • UpdateWitness
        • GetBrokerage
        • UpdateBrokerage
        • VoteWitnessAccount
        • GetReward
        • WithdrawBalance
        • GetNextMaintenanceTime
      • Smart Contracts
        • TriggerSmartContract
        • DeployContract
        • UpdateSetting
        • UpdateEnergyLimit
        • ClearAbi
        • GetContract
        • TriggerConstantContract
      • Proposals
      • Solidity Node API
    • RPC List
  • AIXCHAIN CLI
  • Aixchain SDK
    • Quickstart
    • Address and Signature
    • Sending Transaction
    • Smart Contract
  • Faucet Aixchain
  • Wallets
Powered by GitBook
On this page
  1. HTTP API
  2. API List
  3. Query the Network

GetBlockByLimitNext

POST: http://172.104.51.182:16667/wallet/getblockbylimitnext

Returns the list of Block Objects included in the 'Block Height' range specified.

BODY PARAMS

{

startNum int32

endNum int32

}

Note:

  • startNumint32 : Starting block height, including this block.

  • endNum: Ending block height, excluding that block.

Example:

curl -X POST  https://api.trongrid.io/wallet/getblockbylimitnext -d '{"startNum":4569013,"endNum":4569015}'

Input:

{

"startNum":4569013,

"endNum":4569015

}

response:

{

"block": [ { "blockID": "000000000045b7b554bf5cf9f04071a95ac85ae592d2b5ce08b2e20eed2b6ab2", "block_header": { "raw_data": { "number": 4569013, "txTrieRoot": "0000000000000000000000000000000000000000000000000000000000000000", "witness_address": "41fd984ae29f7459aeae375af09b2241acea0b22a0", "parentHash": "000000000045b7b4a4ddd8c1659af43bf6838d9b1daf2e29b8c715d6fd8ca742", "version": 21, "timestamp": 1639441602000 }, "witness_signature": "a19e8ce4faccd6dee699401ed126583b1f1497d9c2922bc39ed12a052ae0aa285626427a7861a8399b873758021690617f10acb280914f093ab2edb35f3751a200" } }, { "blockID": "000000000045b7b6ba36bc540cc20a7d012ccffd7a793a0fe84c0a5f470fdab3", "block_header": { "raw_data": { "number": 4569014, "txTrieRoot": "0000000000000000000000000000000000000000000000000000000000000000", "witness_address": "412cc09193d124f7678a482a38874ce6a6a7308e25", "parentHash": "000000000045b7b554bf5cf9f04071a95ac85ae592d2b5ce08b2e20eed2b6ab2", "version": 21, "timestamp": 1639441605000 }, "witness_signature": "c12c7c79bc9ad238cd8387f06ee47b3a4451a5c689bff91421b926dc123c98385c3ead4651b6eab322c82f3fdabde63718ca3d7815e410d5fea6989944d1124400" } } ]

}

PreviousGetBlockByLatestNumNextGetNowBlock

Last updated 1 month ago