Documentation ¶
Index ¶
- type RpcAccountJson
- type RpcBalance
- type RpcBalanceJson
- type RpcBlock
- type RpcBlockJson
- type RpcCodePrintable
- type RpcContractJson
- type RpcEvent
- type RpcEventJson
- type RpcHeader
- type RpcInfo
- type RpcInfoJson
- type RpcTransaction
- type RpcTransactionJson
- type RpcTransactionReceipt
- type RpcTransactionReceiptJson
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RpcAccountJson ¶
type RpcBalance ¶
type RpcBalanceJson ¶
type RpcBalanceJson struct { Amount interface{} `json:"amount"` AssetId string `json:"asset_id"` }
type RpcBlock ¶
type RpcBlock struct { Previous xwcfmt.Hash Timestamp uint64 Trxfee uint64 Miner string TransactionMerkleRoot xwcfmt.Hash Extensions []interface{} NextSecretHash xwcfmt.Hash PreviousSecret xwcfmt.Hash MinerSignature []byte Transactions []interface{} Number uint64 BlockId xwcfmt.Hash SigningKey string Reward uint64 TransactionIds []xwcfmt.Hash }
type RpcBlockJson ¶
type RpcBlockJson struct { Previous string `json:"previous"` Timestamp string `json:"timestamp"` Trxfee uint64 `json:"trxfee"` Miner string `json:"miner"` TransactionMerkleRoot string `json:"transaction_merkle_root"` Extensions []interface{} `json:"extensions"` NextSecretHash string `json:"next_secret_hash"` PreviousSecret string `json:"previous_secret"` MinerSignature string `json:"miner_signature"` Transactions []interface{} `json:"transactions"` Number uint64 `json:"number"` BlockId string `json:"block_id"` SigningKey string `json:"signing_key"` Reward uint64 `json:"reward"` TransactionIds []string `json:"transaction_ids"` }
type RpcCodePrintable ¶
type RpcContractJson ¶
type RpcContractJson struct { Id string `json:"id"` OwnerAddress string `json:"owner_address"` OwnerName string `json:"owner_name"` Name string `json:"name"` Description string `json:"description"` TypeOfContract string `json:"type_of_contract"` RegisteredBlock uint64 `json:"registered_block"` RegisteredTrx string `json:"registered_trx"` NativeContractKey string `json:"native_contract_key"` Derived interface{} `json:"derived"` CodePrintable RpcCodePrintable `json:"code_printable"` CreateTime string `json:"createtime"` }
type RpcEventJson ¶
type RpcInfoJson ¶
type RpcTransaction ¶
type RpcTransactionJson ¶
type RpcTransactionJson struct { RefBlockNum uint64 `json:"ref_block_num"` RefBlockPrefix uint64 `json:"ref_block_prefix"` Expiration string `json:"expiration"` Operations []interface{} `json:"operations"` Extensions []interface{} `json:"extensions"` Signatures []string `json:"signatures"` BlockNum uint64 `json:"block_num"` TrxId string `json:"trxid"` }
type RpcTransactionReceipt ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.