Get desktop application:
View/edit binary Protocol Buffers messages
Accounts return account list.
Response message of Accounts rpc.
Account list
LockAccount lock account
NewAccount create a new account with passphrase
Return the p2p node info.
Response message of node info.
the node ID.
the block chainID.
coinbase
Number of peers currenly connected.
the node synchronized status.
the node route table bucket size.
the network protocol version.
Verify, sign, and send the transaction.
SendTransactionWithPassphrase send transaction with passphrase
transaction struct
from account passphrase
Sign sign msg
sign address
sign msg
sign algorithm
Sign sign transaction
transaction struct
from account passphrase
UnlockAccount unlock account with passphrase
RPC API interface.
Call transaction
Response message of Call rpc.
result of smart contract method call.
execute error
estimate gas used
EstimateGas
Return the state of the account.
Request message of GetAccountState rpc.
Hex string of the account addresss.
block account state with height. If not specified, use 0 as tail height.
Response message of GetAccountState rpc.
Current balance in unit of 1/(10^18) nas.
uint128, len=16
Current transaction count.
Account type
Get block info by the block hash.
Request message of GetBlockByHash rpc.
Hex string of block hash.
If true it returns the full transaction objects, if false only the hashes of the transactions.
Get block info by the block height.
Request message of GetBlockByHeight rpc.
block height.
If true it returns the full transaction objects, if false only the hashes of the transactions.
ByBlockHeightRequest message
Response message of GetDynastyRequest rpc
Request message of GetTransactionByHash rpc.
Hex string of block/transaction hash.
Get GasPrice
Return the state of the neb.
Response message of GetNebState rpc.
Block chain id
Current neb tail hash
Current neb lib hash
Current neb tail block height
The current neb protocol version.
The peer sync status.
neb version
Get transactionReceipt info by tansaction hash.
Request message of GetTransactionByHash rpc.
Hex string of transaction hash.
Return the latest irreversible block.
Submit the signed transaction.
Request message of SendRawTransactionRequest rpc.
Signed data of transaction
Subscribe message
Request message of Subscribe rpc
Request message of Subscribe rpc
Response message of Block.
Used as response type in: ApiService.GetBlockByHash, ApiService.GetBlockByHeight, ApiService.LatestIrreversibleBlock
Hex string of block hash.
Hex string of block parent hash.
block height
block nonce
Hex string of coinbase address.
block timestamp.
block chain id
Hex string of state root.
Hex string of txs root.
Hex string of event root.
Hex string of consensus root.
Miner
is finaliy
transaction slice
Used in:
Used in:
contract source code.
contract source type, support javascript and typescript
call contract function name
the params of contract.
Used in:
Request message of non params.
Used as request type in: AdminService.Accounts, AdminService.NodeInfo, ApiService.GetGasPrice, ApiService.GetNebState, ApiService.LatestIrreversibleBlock
(message has no fields)
Used in:
Response message of SendTransaction rpc.
Used as response type in: AdminService.SendTransaction, AdminService.SendTransactionWithPassphrase, ApiService.SendRawTransaction
Hex string of transaction hash.
Hex string of contract address if transaction is deploy type
Request message of SendTransaction rpc.
Used as request type in: AdminService.SendTransaction, ApiService.Call, ApiService.EstimateGas
Used as field type in: ,
Hex string of the sender account addresss.
Hex string of the receiver account addresss.
Amount of value sending with this transaction.
uint128, len=16
Transaction nonce.
gasPrice sending with this transaction.
uint128, len=16
gasLimit sending with this transaction.
uint128, len=16
contract sending with this transaction
binary data for transaction
Response message of TransactionReceipt.
Used as response type in: ApiService.GetTransactionReceipt
Used as field type in:
Hex string of tx hash.
Hex string of the sender account addresss.
Hex string of the receiver account addresss.
Transaction nonce.
transaction status 0 failed, 1 success, 2 pending
transaction gas used