Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertGetFileInfos2Json ¶
func ConvertGetFileInfos2Json(gets []GetFileInfos) string
Types ¶
type ContractInvokeRequest ¶
type GetFileInfos ¶
type OutputJson ¶
type PaymentJson ¶
type PaymentJson struct { Inputs []InputJson `json:"inputs"` Outputs []OutputJson `json:"outputs"` }
type ProofJson ¶
type ProofJson struct { Inputs []InputJson `json:"inputs"` Outputs []OutputJson `json:"outputs"` Proof string `json:"proof"` Extra string `json:"extra"` }
type RawTxjsonGenParams ¶
type RawTxjsonGenParams struct { Inputs []struct { TxHash string `json:"txid"` OutIndex uint32 `json:"outindex"` MessageIndex uint32 `json:"messageindex"` HashForSign string `json:"hash"` Signature string `json:"signature"` } `json:"inputs"` Outputs []struct { Address string `json:"address"` Amount uint64 `json:"amount"` Asset string `json:"asset"` } `json:"outputs"` }
type TxHistoryJson ¶
type TxJson ¶
type TxJson struct { Payload []PaymentJson `json:"payload"` InvokeRequest ContractInvokeRequest `json:"invoke_request"` }
type TxProofJson ¶
type TxProofJson struct { Payload []ProofJson `json:"payload"` InvokeRequest ContractInvokeRequest `json:"invoke_request"` }
type UtxoJson ¶
type UtxoJson struct { TxHash string `json:"txid"` // reference Utxo struct key field MessageIndex uint32 `json:"message_index"` // message index in transaction OutIndex uint32 `json:"out_index"` Amount uint64 `json:"amount"` // 数量 Asset string `json:"asset"` // 资产类别 PkScriptHex string `json:"pk_script_hex"` // 要执行的代码段 PkScriptString string `json:"pk_script_string"` // 要执行的代码段 LockTime uint32 `json:"lock_time"` }
Click to show internal directories.
Click to hide internal directories.