{"jsonrpc":"2.0","method":"subchain_getBlockCreator","params":[int64],"id":1}
height
:int64
- block height. Set to current block height if the given height is negativeresult
: string
- the creator of the block{"jsonrpc":"2.0","method":"subchain_getBalanceTreeRoot","params":[int64],"id":1}
height
:int64
- block height. Set to current block height if the given height is negativeresult
: string
- the root hash of the balance merkle tree{"jsonrpc":"2.0","method":"subchain_getTxTreeRoot","params":[int64],"id":1}
height
:int64
- block height. Set to current block height if the given height is negativeresult
: string
- the root hash of the transaction merkle tree{"jsonrpc":"2.0","method":"subchain_getBlockSignature","params":[int64],"id":1}
height
:int64
- block height. Set to current block height if the given height is negativeresult
: string
- the signature of a block{"jsonrpc":"2.0","method":"subchain_getBlockInfoForStem","params":[int64],"id":1}
height
:int64
- block height. Set to current block height if the given height is negativeresult
: string
- the RLP string of [block creator, block height, the root hash of tx tree, the root hash of balance tree]{"jsonrpc":"2.0","method":"subchain_getTxMerkleInfo","params":[string],"id":1}
hexHash
:string
- hex form of a transaction hashmerkle index
: int
- the index of the input transaction at the leaf level of the transaction merkle treemerkle proof
: string
- the merkle proof of the input transaction{"jsonrpc":"2.0","method":"subchain_getBalanceMerkleInfo","params":[string, int64],"id":1}
account
:string
- accountheight
:int64
- block height. Set to current block height if the given height is negativeaccount
: string
- accountbalance
: big.Int
- account balancemerkle index
: int
- the index of the input account at the leaf level of the balance merkle treemerkle proof
: string
- the merkle proof of the input accountnonce
: uint64
- account nonce{"jsonrpc":"2.0","method":"subchain_getRecentTxTreeRoot","params":[int64],"id":1}
height
:int64
- block height. Set to current block height if the given height is negativeresult
: string
- the root hash of the recent transaction merkle tree; return empty hash if this block is not a relay block{"jsonrpc":"2.0","method":"subchain_getRecentTxMerkleInfo","params":[string, int64],"id":1}
account
:string
- accountheight
:int64
- block height. Set to current block height if the given height is negativeaccount
: string
- accountmerkle index
: int
- the index of the input account at the leaf level of the recent transaction merkle treemerkle proof
: string
- the merkle proof of the input account{"jsonrpc":"2.0","method":"subchain_getAccountTx","params":[string, int64, int64],"id":1}
account
:string
- accountstartHeight
:int64
- start height. Set to current block height if the given height is negativeendHeight
:int64
- end height. Set to current block height if the given height is negativeaccount
: string
- accounttxs
: string
- the RLP string of the transaction array of the input account from startHeight to endHeightsignatures
: string
- the RLP string of the Stem signature array corresponding to the transaction array{"jsonrpc":"2.0","method":"subchain_getUpdatedAccountInfo","params":[int64],"id":1}
height
:uint64
- block heightupdated accounts
: string
- the RLP string of the array of recent updated accounts from height - relayInterval + 1 to heightbalances
: string
- the RLP string of the balance array corresponding to updated accounts{"jsonrpc":"2.0","method":"subchain_getFee","params":[uint64],"id":1}
height
:uint64
- block height, should be the height of a relay blockfee
: big.Int
- the fee income of each verifier from height - relayInterval + 1 to heightverNum
: big.Int
- the number of verifiers from height - relayInterval + 1 to height{"jsonrpc":"2.0","method":"subchain_getRelayInterval","params":[],"id":1}
Result
: uint64
- relay block interval