Documentation ¶
Index ¶
- Constants
- type Account
- type ByteCode
- type Channel
- type ChannelCloseMutualTx
- type ChannelCloseMutualTxJSON
- func (m *ChannelCloseMutualTxJSON) MarshalBinary() ([]byte, error)
- func (m ChannelCloseMutualTxJSON) MarshalJSON() ([]byte, error)
- func (m *ChannelCloseMutualTxJSON) SetType(val string)
- func (m *ChannelCloseMutualTxJSON) SetVersion(val *uint32)
- func (m *ChannelCloseMutualTxJSON) Type() string
- func (m *ChannelCloseMutualTxJSON) UnmarshalBinary(b []byte) error
- func (m *ChannelCloseMutualTxJSON) UnmarshalJSON(raw []byte) error
- func (m *ChannelCloseMutualTxJSON) Validate(formats strfmt.Registry) error
- func (m *ChannelCloseMutualTxJSON) Version() *uint32
- type ChannelCloseSoloTx
- type ChannelCloseSoloTxJSON
- func (m *ChannelCloseSoloTxJSON) MarshalBinary() ([]byte, error)
- func (m ChannelCloseSoloTxJSON) MarshalJSON() ([]byte, error)
- func (m *ChannelCloseSoloTxJSON) SetType(val string)
- func (m *ChannelCloseSoloTxJSON) SetVersion(val *uint32)
- func (m *ChannelCloseSoloTxJSON) Type() string
- func (m *ChannelCloseSoloTxJSON) UnmarshalBinary(b []byte) error
- func (m *ChannelCloseSoloTxJSON) UnmarshalJSON(raw []byte) error
- func (m *ChannelCloseSoloTxJSON) Validate(formats strfmt.Registry) error
- func (m *ChannelCloseSoloTxJSON) Version() *uint32
- type ChannelCreateTx
- type ChannelCreateTxJSON
- func (m *ChannelCreateTxJSON) MarshalBinary() ([]byte, error)
- func (m ChannelCreateTxJSON) MarshalJSON() ([]byte, error)
- func (m *ChannelCreateTxJSON) SetType(val string)
- func (m *ChannelCreateTxJSON) SetVersion(val *uint32)
- func (m *ChannelCreateTxJSON) Type() string
- func (m *ChannelCreateTxJSON) UnmarshalBinary(b []byte) error
- func (m *ChannelCreateTxJSON) UnmarshalJSON(raw []byte) error
- func (m *ChannelCreateTxJSON) Validate(formats strfmt.Registry) error
- func (m *ChannelCreateTxJSON) Version() *uint32
- type ChannelDepositTx
- type ChannelDepositTxJSON
- func (m *ChannelDepositTxJSON) MarshalBinary() ([]byte, error)
- func (m ChannelDepositTxJSON) MarshalJSON() ([]byte, error)
- func (m *ChannelDepositTxJSON) SetType(val string)
- func (m *ChannelDepositTxJSON) SetVersion(val *uint32)
- func (m *ChannelDepositTxJSON) Type() string
- func (m *ChannelDepositTxJSON) UnmarshalBinary(b []byte) error
- func (m *ChannelDepositTxJSON) UnmarshalJSON(raw []byte) error
- func (m *ChannelDepositTxJSON) Validate(formats strfmt.Registry) error
- func (m *ChannelDepositTxJSON) Version() *uint32
- type ChannelForceProgressTx
- func (m *ChannelForceProgressTx) MarshalBinary() ([]byte, error)
- func (m ChannelForceProgressTx) MarshalJSON() ([]byte, error)
- func (m *ChannelForceProgressTx) SetUpdate(val OffChainUpdate)
- func (m *ChannelForceProgressTx) UnmarshalBinary(b []byte) error
- func (m *ChannelForceProgressTx) UnmarshalJSON(raw []byte) error
- func (m *ChannelForceProgressTx) Update() OffChainUpdate
- func (m *ChannelForceProgressTx) Validate(formats strfmt.Registry) error
- type ChannelForceProgressTxJSON
- func (m *ChannelForceProgressTxJSON) MarshalBinary() ([]byte, error)
- func (m ChannelForceProgressTxJSON) MarshalJSON() ([]byte, error)
- func (m *ChannelForceProgressTxJSON) SetType(val string)
- func (m *ChannelForceProgressTxJSON) SetVersion(val *uint32)
- func (m *ChannelForceProgressTxJSON) Type() string
- func (m *ChannelForceProgressTxJSON) UnmarshalBinary(b []byte) error
- func (m *ChannelForceProgressTxJSON) UnmarshalJSON(raw []byte) error
- func (m *ChannelForceProgressTxJSON) Validate(formats strfmt.Registry) error
- func (m *ChannelForceProgressTxJSON) Version() *uint32
- type ChannelSLASHTx
- type ChannelSLASHTxJSON
- func (m *ChannelSLASHTxJSON) MarshalBinary() ([]byte, error)
- func (m ChannelSLASHTxJSON) MarshalJSON() ([]byte, error)
- func (m *ChannelSLASHTxJSON) SetType(val string)
- func (m *ChannelSLASHTxJSON) SetVersion(val *uint32)
- func (m *ChannelSLASHTxJSON) Type() string
- func (m *ChannelSLASHTxJSON) UnmarshalBinary(b []byte) error
- func (m *ChannelSLASHTxJSON) UnmarshalJSON(raw []byte) error
- func (m *ChannelSLASHTxJSON) Validate(formats strfmt.Registry) error
- func (m *ChannelSLASHTxJSON) Version() *uint32
- type ChannelSettleTx
- type ChannelSettleTxJSON
- func (m *ChannelSettleTxJSON) MarshalBinary() ([]byte, error)
- func (m ChannelSettleTxJSON) MarshalJSON() ([]byte, error)
- func (m *ChannelSettleTxJSON) SetType(val string)
- func (m *ChannelSettleTxJSON) SetVersion(val *uint32)
- func (m *ChannelSettleTxJSON) Type() string
- func (m *ChannelSettleTxJSON) UnmarshalBinary(b []byte) error
- func (m *ChannelSettleTxJSON) UnmarshalJSON(raw []byte) error
- func (m *ChannelSettleTxJSON) Validate(formats strfmt.Registry) error
- func (m *ChannelSettleTxJSON) Version() *uint32
- type ChannelSnapshotSoloTx
- type ChannelSnapshotSoloTxJSON
- func (m *ChannelSnapshotSoloTxJSON) MarshalBinary() ([]byte, error)
- func (m ChannelSnapshotSoloTxJSON) MarshalJSON() ([]byte, error)
- func (m *ChannelSnapshotSoloTxJSON) SetType(val string)
- func (m *ChannelSnapshotSoloTxJSON) SetVersion(val *uint32)
- func (m *ChannelSnapshotSoloTxJSON) Type() string
- func (m *ChannelSnapshotSoloTxJSON) UnmarshalBinary(b []byte) error
- func (m *ChannelSnapshotSoloTxJSON) UnmarshalJSON(raw []byte) error
- func (m *ChannelSnapshotSoloTxJSON) Validate(formats strfmt.Registry) error
- func (m *ChannelSnapshotSoloTxJSON) Version() *uint32
- type ChannelWithdrawTx
- type ChannelWithdrawalTxJSON
- func (m *ChannelWithdrawalTxJSON) MarshalBinary() ([]byte, error)
- func (m ChannelWithdrawalTxJSON) MarshalJSON() ([]byte, error)
- func (m *ChannelWithdrawalTxJSON) SetType(val string)
- func (m *ChannelWithdrawalTxJSON) SetVersion(val *uint32)
- func (m *ChannelWithdrawalTxJSON) Type() string
- func (m *ChannelWithdrawalTxJSON) UnmarshalBinary(b []byte) error
- func (m *ChannelWithdrawalTxJSON) UnmarshalJSON(raw []byte) error
- func (m *ChannelWithdrawalTxJSON) Validate(formats strfmt.Registry) error
- func (m *ChannelWithdrawalTxJSON) Version() *uint32
- type CommitmentID
- type ContractCallObject
- type ContractCallTx
- type ContractCallTxJSON
- func (m *ContractCallTxJSON) MarshalBinary() ([]byte, error)
- func (m ContractCallTxJSON) MarshalJSON() ([]byte, error)
- func (m *ContractCallTxJSON) SetType(val string)
- func (m *ContractCallTxJSON) SetVersion(val *uint32)
- func (m *ContractCallTxJSON) Type() string
- func (m *ContractCallTxJSON) UnmarshalBinary(b []byte) error
- func (m *ContractCallTxJSON) UnmarshalJSON(raw []byte) error
- func (m *ContractCallTxJSON) Validate(formats strfmt.Registry) error
- func (m *ContractCallTxJSON) Version() *uint32
- type ContractCreateTx
- type ContractCreateTxJSON
- func (m *ContractCreateTxJSON) MarshalBinary() ([]byte, error)
- func (m ContractCreateTxJSON) MarshalJSON() ([]byte, error)
- func (m *ContractCreateTxJSON) SetType(val string)
- func (m *ContractCreateTxJSON) SetVersion(val *uint32)
- func (m *ContractCreateTxJSON) Type() string
- func (m *ContractCreateTxJSON) UnmarshalBinary(b []byte) error
- func (m *ContractCreateTxJSON) UnmarshalJSON(raw []byte) error
- func (m *ContractCreateTxJSON) Validate(formats strfmt.Registry) error
- func (m *ContractCreateTxJSON) Version() *uint32
- type ContractObject
- type ContractStore
- type ContractStoreStoreItems0
- type CreateContractUnsignedTx
- func (m *CreateContractUnsignedTx) MarshalBinary() ([]byte, error)
- func (m CreateContractUnsignedTx) MarshalJSON() ([]byte, error)
- func (m *CreateContractUnsignedTx) UnmarshalBinary(b []byte) error
- func (m *CreateContractUnsignedTx) UnmarshalJSON(raw []byte) error
- func (m *CreateContractUnsignedTx) Validate(formats strfmt.Registry) error
- type DryRunAccount
- type DryRunCallContext
- type DryRunCallReq
- type DryRunInput
- type DryRunInputItem
- type DryRunResult
- type DryRunResults
- type EncodedByteArray
- type EncodedHash
- type EncodedPubkey
- type EncodedValue
- type Error
- type Event
- type GAAttachTx
- type GAAttachTxJSON
- func (m *GAAttachTxJSON) MarshalBinary() ([]byte, error)
- func (m GAAttachTxJSON) MarshalJSON() ([]byte, error)
- func (m *GAAttachTxJSON) SetType(val string)
- func (m *GAAttachTxJSON) SetVersion(val *uint32)
- func (m *GAAttachTxJSON) Type() string
- func (m *GAAttachTxJSON) UnmarshalBinary(b []byte) error
- func (m *GAAttachTxJSON) UnmarshalJSON(raw []byte) error
- func (m *GAAttachTxJSON) Validate(formats strfmt.Registry) error
- func (m *GAAttachTxJSON) Version() *uint32
- type GAMetaTx
- type GAMetaTxJSON
- func (m *GAMetaTxJSON) MarshalBinary() ([]byte, error)
- func (m GAMetaTxJSON) MarshalJSON() ([]byte, error)
- func (m *GAMetaTxJSON) SetType(val string)
- func (m *GAMetaTxJSON) SetVersion(val *uint32)
- func (m *GAMetaTxJSON) Type() string
- func (m *GAMetaTxJSON) UnmarshalBinary(b []byte) error
- func (m *GAMetaTxJSON) UnmarshalJSON(raw []byte) error
- func (m *GAMetaTxJSON) Validate(formats strfmt.Registry) error
- func (m *GAMetaTxJSON) Version() *uint32
- type GAObject
- type Generation
- type GenericSignedTx
- func (m *GenericSignedTx) MarshalBinary() ([]byte, error)
- func (m GenericSignedTx) MarshalJSON() ([]byte, error)
- func (m *GenericSignedTx) SetTx(val GenericTx)
- func (m *GenericSignedTx) Tx() GenericTx
- func (m *GenericSignedTx) UnmarshalBinary(b []byte) error
- func (m *GenericSignedTx) UnmarshalJSON(raw []byte) error
- func (m *GenericSignedTx) Validate(formats strfmt.Registry) error
- type GenericTx
- type GenericTxs
- type KeyBlock
- type KeyBlockOrMicroBlockHeader
- type MicroBlockHeader
- type NameClaimTx
- type NameClaimTxJSON
- func (m *NameClaimTxJSON) MarshalBinary() ([]byte, error)
- func (m NameClaimTxJSON) MarshalJSON() ([]byte, error)
- func (m *NameClaimTxJSON) SetType(val string)
- func (m *NameClaimTxJSON) SetVersion(val *uint32)
- func (m *NameClaimTxJSON) Type() string
- func (m *NameClaimTxJSON) UnmarshalBinary(b []byte) error
- func (m *NameClaimTxJSON) UnmarshalJSON(raw []byte) error
- func (m *NameClaimTxJSON) Validate(formats strfmt.Registry) error
- func (m *NameClaimTxJSON) Version() *uint32
- type NameEntry
- type NameHash
- type NamePointer
- type NamePreclaimTx
- type NamePreclaimTxJSON
- func (m *NamePreclaimTxJSON) MarshalBinary() ([]byte, error)
- func (m NamePreclaimTxJSON) MarshalJSON() ([]byte, error)
- func (m *NamePreclaimTxJSON) SetType(val string)
- func (m *NamePreclaimTxJSON) SetVersion(val *uint32)
- func (m *NamePreclaimTxJSON) Type() string
- func (m *NamePreclaimTxJSON) UnmarshalBinary(b []byte) error
- func (m *NamePreclaimTxJSON) UnmarshalJSON(raw []byte) error
- func (m *NamePreclaimTxJSON) Validate(formats strfmt.Registry) error
- func (m *NamePreclaimTxJSON) Version() *uint32
- type NameRevokeTx
- type NameRevokeTxJSON
- func (m *NameRevokeTxJSON) MarshalBinary() ([]byte, error)
- func (m NameRevokeTxJSON) MarshalJSON() ([]byte, error)
- func (m *NameRevokeTxJSON) SetType(val string)
- func (m *NameRevokeTxJSON) SetVersion(val *uint32)
- func (m *NameRevokeTxJSON) Type() string
- func (m *NameRevokeTxJSON) UnmarshalBinary(b []byte) error
- func (m *NameRevokeTxJSON) UnmarshalJSON(raw []byte) error
- func (m *NameRevokeTxJSON) Validate(formats strfmt.Registry) error
- func (m *NameRevokeTxJSON) Version() *uint32
- type NameTransferTx
- type NameTransferTxJSON
- func (m *NameTransferTxJSON) MarshalBinary() ([]byte, error)
- func (m NameTransferTxJSON) MarshalJSON() ([]byte, error)
- func (m *NameTransferTxJSON) SetType(val string)
- func (m *NameTransferTxJSON) SetVersion(val *uint32)
- func (m *NameTransferTxJSON) Type() string
- func (m *NameTransferTxJSON) UnmarshalBinary(b []byte) error
- func (m *NameTransferTxJSON) UnmarshalJSON(raw []byte) error
- func (m *NameTransferTxJSON) Validate(formats strfmt.Registry) error
- func (m *NameTransferTxJSON) Version() *uint32
- type NameUpdateTx
- type NameUpdateTxJSON
- func (m *NameUpdateTxJSON) MarshalBinary() ([]byte, error)
- func (m NameUpdateTxJSON) MarshalJSON() ([]byte, error)
- func (m *NameUpdateTxJSON) SetType(val string)
- func (m *NameUpdateTxJSON) SetVersion(val *uint32)
- func (m *NameUpdateTxJSON) Type() string
- func (m *NameUpdateTxJSON) UnmarshalBinary(b []byte) error
- func (m *NameUpdateTxJSON) UnmarshalJSON(raw []byte) error
- func (m *NameUpdateTxJSON) Validate(formats strfmt.Registry) error
- func (m *NameUpdateTxJSON) Version() *uint32
- type OffChainCallContract
- func (m *OffChainCallContract) MarshalBinary() ([]byte, error)
- func (m OffChainCallContract) MarshalJSON() ([]byte, error)
- func (m *OffChainCallContract) Op() string
- func (m *OffChainCallContract) SetOp(val string)
- func (m *OffChainCallContract) UnmarshalBinary(b []byte) error
- func (m *OffChainCallContract) UnmarshalJSON(raw []byte) error
- func (m *OffChainCallContract) Validate(formats strfmt.Registry) error
- type OffChainDeposit
- func (m *OffChainDeposit) MarshalBinary() ([]byte, error)
- func (m OffChainDeposit) MarshalJSON() ([]byte, error)
- func (m *OffChainDeposit) Op() string
- func (m *OffChainDeposit) SetOp(val string)
- func (m *OffChainDeposit) UnmarshalBinary(b []byte) error
- func (m *OffChainDeposit) UnmarshalJSON(raw []byte) error
- func (m *OffChainDeposit) Validate(formats strfmt.Registry) error
- type OffChainNewContract
- func (m *OffChainNewContract) MarshalBinary() ([]byte, error)
- func (m OffChainNewContract) MarshalJSON() ([]byte, error)
- func (m *OffChainNewContract) Op() string
- func (m *OffChainNewContract) SetOp(val string)
- func (m *OffChainNewContract) UnmarshalBinary(b []byte) error
- func (m *OffChainNewContract) UnmarshalJSON(raw []byte) error
- func (m *OffChainNewContract) Validate(formats strfmt.Registry) error
- type OffChainTransfer
- func (m *OffChainTransfer) MarshalBinary() ([]byte, error)
- func (m OffChainTransfer) MarshalJSON() ([]byte, error)
- func (m *OffChainTransfer) Op() string
- func (m *OffChainTransfer) SetOp(val string)
- func (m *OffChainTransfer) UnmarshalBinary(b []byte) error
- func (m *OffChainTransfer) UnmarshalJSON(raw []byte) error
- func (m *OffChainTransfer) Validate(formats strfmt.Registry) error
- type OffChainUpdate
- type OffChainWithdrawal
- func (m *OffChainWithdrawal) MarshalBinary() ([]byte, error)
- func (m OffChainWithdrawal) MarshalJSON() ([]byte, error)
- func (m *OffChainWithdrawal) Op() string
- func (m *OffChainWithdrawal) SetOp(val string)
- func (m *OffChainWithdrawal) UnmarshalBinary(b []byte) error
- func (m *OffChainWithdrawal) UnmarshalJSON(raw []byte) error
- func (m *OffChainWithdrawal) Validate(formats strfmt.Registry) error
- type OracleExtendTx
- type OracleExtendTxJSON
- func (m *OracleExtendTxJSON) MarshalBinary() ([]byte, error)
- func (m OracleExtendTxJSON) MarshalJSON() ([]byte, error)
- func (m *OracleExtendTxJSON) SetType(val string)
- func (m *OracleExtendTxJSON) SetVersion(val *uint32)
- func (m *OracleExtendTxJSON) Type() string
- func (m *OracleExtendTxJSON) UnmarshalBinary(b []byte) error
- func (m *OracleExtendTxJSON) UnmarshalJSON(raw []byte) error
- func (m *OracleExtendTxJSON) Validate(formats strfmt.Registry) error
- func (m *OracleExtendTxJSON) Version() *uint32
- type OracleQueries
- type OracleQuery
- type OracleQueryTx
- type OracleQueryTxJSON
- func (m *OracleQueryTxJSON) MarshalBinary() ([]byte, error)
- func (m OracleQueryTxJSON) MarshalJSON() ([]byte, error)
- func (m *OracleQueryTxJSON) SetType(val string)
- func (m *OracleQueryTxJSON) SetVersion(val *uint32)
- func (m *OracleQueryTxJSON) Type() string
- func (m *OracleQueryTxJSON) UnmarshalBinary(b []byte) error
- func (m *OracleQueryTxJSON) UnmarshalJSON(raw []byte) error
- func (m *OracleQueryTxJSON) Validate(formats strfmt.Registry) error
- func (m *OracleQueryTxJSON) Version() *uint32
- type OracleRegisterTx
- type OracleRegisterTxJSON
- func (m *OracleRegisterTxJSON) MarshalBinary() ([]byte, error)
- func (m OracleRegisterTxJSON) MarshalJSON() ([]byte, error)
- func (m *OracleRegisterTxJSON) SetType(val string)
- func (m *OracleRegisterTxJSON) SetVersion(val *uint32)
- func (m *OracleRegisterTxJSON) Type() string
- func (m *OracleRegisterTxJSON) UnmarshalBinary(b []byte) error
- func (m *OracleRegisterTxJSON) UnmarshalJSON(raw []byte) error
- func (m *OracleRegisterTxJSON) Validate(formats strfmt.Registry) error
- func (m *OracleRegisterTxJSON) Version() *uint32
- type OracleRespondTx
- type OracleRespondTxJSON
- func (m *OracleRespondTxJSON) MarshalBinary() ([]byte, error)
- func (m OracleRespondTxJSON) MarshalJSON() ([]byte, error)
- func (m *OracleRespondTxJSON) SetType(val string)
- func (m *OracleRespondTxJSON) SetVersion(val *uint32)
- func (m *OracleRespondTxJSON) Type() string
- func (m *OracleRespondTxJSON) UnmarshalBinary(b []byte) error
- func (m *OracleRespondTxJSON) UnmarshalJSON(raw []byte) error
- func (m *OracleRespondTxJSON) Validate(formats strfmt.Registry) error
- func (m *OracleRespondTxJSON) Version() *uint32
- type Peer
- type PeerPubKey
- type Peers
- type PoI
- type PostTxResponse
- type Pow
- type Protocol
- type PubKey
- type RegisteredOracle
- type RelativeTTL
- type SpendTx
- type SpendTxJSON
- func (m *SpendTxJSON) MarshalBinary() ([]byte, error)
- func (m SpendTxJSON) MarshalJSON() ([]byte, error)
- func (m *SpendTxJSON) SetType(val string)
- func (m *SpendTxJSON) SetVersion(val *uint32)
- func (m *SpendTxJSON) Type() string
- func (m *SpendTxJSON) UnmarshalBinary(b []byte) error
- func (m *SpendTxJSON) UnmarshalJSON(raw []byte) error
- func (m *SpendTxJSON) Validate(formats strfmt.Registry) error
- func (m *SpendTxJSON) Version() *uint32
- type Status
- type TTL
- type TokenSupply
- type Tx
- type TxBlockHeight
- type TxInfoObject
- type Uint16
- type Uint32
- type Uint64
- type UnsignedTx
Constants ¶
const ( // AccountKindBasic captures enum value "basic" AccountKindBasic string = "basic" // AccountKindGeneralized captures enum value "generalized" AccountKindGeneralized string = "generalized" )
const ( // TTLTypeDelta captures enum value "delta" TTLTypeDelta string = "delta" // TTLTypeBlock captures enum value "block" TTLTypeBlock string = "block" )
const ( // RelativeTTLTypeDelta captures enum value "delta" RelativeTTLTypeDelta string = "delta" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { // Name of authorization function for generalized account AuthFun string `json:"auth_fun,omitempty"` // Balance // Required: true Balance utils.BigInt `json:"balance"` // Id of authorization contract for generalized account ContractID string `json:"contract_id,omitempty"` // Public key // Required: true ID *string `json:"id"` // kind // Enum: [basic generalized] Kind string `json:"kind,omitempty"` // Nonce // Required: true Nonce *uint64 `json:"nonce"` // Payable Payable bool `json:"payable,omitempty"` }
Account account swagger:model Account
func (*Account) MarshalBinary ¶
MarshalBinary interface implementation
func (*Account) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ByteCode ¶
type ByteCode struct { // bytecode // Required: true Bytecode *string `json:"bytecode"` }
ByteCode byte code swagger:model ByteCode
func (*ByteCode) MarshalBinary ¶
MarshalBinary interface implementation
func (*ByteCode) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Channel ¶
type Channel struct { // channel amount // Required: true ChannelAmount utils.BigInt `json:"channel_amount"` // channel reserve // Required: true ChannelReserve utils.BigInt `json:"channel_reserve"` // delegate ids // Required: true DelegateIds []string `json:"delegate_ids"` // id // Required: true ID *string `json:"id"` // initiator amount // Required: true InitiatorAmount utils.BigInt `json:"initiator_amount"` // initiator id // Required: true InitiatorID *string `json:"initiator_id"` // lock period // Required: true LockPeriod *uint64 `json:"lock_period"` // locked until // Required: true LockedUntil *uint64 `json:"locked_until"` // responder amount // Required: true ResponderAmount utils.BigInt `json:"responder_amount"` // responder id // Required: true ResponderID *string `json:"responder_id"` // round // Required: true Round *uint64 `json:"round"` // solo round // Required: true SoloRound *uint64 `json:"solo_round"` // state hash // Required: true StateHash *string `json:"state_hash"` }
Channel channel swagger:model Channel
func (*Channel) MarshalBinary ¶
MarshalBinary interface implementation
func (*Channel) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ChannelCloseMutualTx ¶
type ChannelCloseMutualTx struct { // channel id // Required: true ChannelID *string `json:"channel_id"` // fee // Required: true Fee *uint64 `json:"fee"` // from id // Required: true FromID *string `json:"from_id"` // initiator amount final // Required: true InitiatorAmountFinal utils.BigInt `json:"initiator_amount_final"` // nonce // Required: true Nonce *uint64 `json:"nonce"` // responder amount final // Required: true ResponderAmountFinal utils.BigInt `json:"responder_amount_final"` // ttl TTL uint64 `json:"ttl,omitempty"` }
ChannelCloseMutualTx channel close mutual tx swagger:model ChannelCloseMutualTx
func (*ChannelCloseMutualTx) MarshalBinary ¶
func (m *ChannelCloseMutualTx) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChannelCloseMutualTx) UnmarshalBinary ¶
func (m *ChannelCloseMutualTx) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ChannelCloseMutualTxJSON ¶
type ChannelCloseMutualTxJSON struct { ChannelCloseMutualTx // contains filtered or unexported fields }
ChannelCloseMutualTxJSON channel close mutual tx JSON swagger:model ChannelCloseMutualTxJSON
func (*ChannelCloseMutualTxJSON) MarshalBinary ¶
func (m *ChannelCloseMutualTxJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ChannelCloseMutualTxJSON) MarshalJSON ¶
func (m ChannelCloseMutualTxJSON) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*ChannelCloseMutualTxJSON) SetType ¶
func (m *ChannelCloseMutualTxJSON) SetType(val string)
SetType sets the type of this subtype
func (*ChannelCloseMutualTxJSON) SetVersion ¶
func (m *ChannelCloseMutualTxJSON) SetVersion(val *uint32)
SetVersion sets the version of this subtype
func (*ChannelCloseMutualTxJSON) Type ¶
func (m *ChannelCloseMutualTxJSON) Type() string
Type gets the type of this subtype
func (*ChannelCloseMutualTxJSON) UnmarshalBinary ¶
func (m *ChannelCloseMutualTxJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ChannelCloseMutualTxJSON) UnmarshalJSON ¶
func (m *ChannelCloseMutualTxJSON) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
func (*ChannelCloseMutualTxJSON) Validate ¶
func (m *ChannelCloseMutualTxJSON) Validate(formats strfmt.Registry) error
Validate validates this channel close mutual tx JSON
func (*ChannelCloseMutualTxJSON) Version ¶
func (m *ChannelCloseMutualTxJSON) Version() *uint32
Version gets the version of this subtype
type ChannelCloseSoloTx ¶
type ChannelCloseSoloTx struct { // channel id // Required: true ChannelID *string `json:"channel_id"` // fee // Required: true Fee utils.BigInt `json:"fee"` // from id // Required: true FromID *string `json:"from_id"` // nonce Nonce uint64 `json:"nonce,omitempty"` // payload // Required: true Payload *string `json:"payload"` // Proof of inclusion containing information for closing the channel // Required: true Poi *string `json:"poi"` // ttl TTL uint64 `json:"ttl,omitempty"` }
ChannelCloseSoloTx channel close solo tx swagger:model ChannelCloseSoloTx
func (*ChannelCloseSoloTx) MarshalBinary ¶
func (m *ChannelCloseSoloTx) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChannelCloseSoloTx) UnmarshalBinary ¶
func (m *ChannelCloseSoloTx) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ChannelCloseSoloTxJSON ¶
type ChannelCloseSoloTxJSON struct { ChannelCloseSoloTx // contains filtered or unexported fields }
ChannelCloseSoloTxJSON channel close solo tx JSON swagger:model ChannelCloseSoloTxJSON
func (*ChannelCloseSoloTxJSON) MarshalBinary ¶
func (m *ChannelCloseSoloTxJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ChannelCloseSoloTxJSON) MarshalJSON ¶
func (m ChannelCloseSoloTxJSON) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*ChannelCloseSoloTxJSON) SetType ¶
func (m *ChannelCloseSoloTxJSON) SetType(val string)
SetType sets the type of this subtype
func (*ChannelCloseSoloTxJSON) SetVersion ¶
func (m *ChannelCloseSoloTxJSON) SetVersion(val *uint32)
SetVersion sets the version of this subtype
func (*ChannelCloseSoloTxJSON) Type ¶
func (m *ChannelCloseSoloTxJSON) Type() string
Type gets the type of this subtype
func (*ChannelCloseSoloTxJSON) UnmarshalBinary ¶
func (m *ChannelCloseSoloTxJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ChannelCloseSoloTxJSON) UnmarshalJSON ¶
func (m *ChannelCloseSoloTxJSON) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
func (*ChannelCloseSoloTxJSON) Validate ¶
func (m *ChannelCloseSoloTxJSON) Validate(formats strfmt.Registry) error
Validate validates this channel close solo tx JSON
func (*ChannelCloseSoloTxJSON) Version ¶
func (m *ChannelCloseSoloTxJSON) Version() *uint32
Version gets the version of this subtype
type ChannelCreateTx ¶
type ChannelCreateTx struct { // channel reserve // Required: true ChannelReserve utils.BigInt `json:"channel_reserve"` // delegate ids DelegateIds []string `json:"delegate_ids"` // fee // Required: true Fee utils.BigInt `json:"fee"` // initiator amount // Required: true InitiatorAmount utils.BigInt `json:"initiator_amount"` // initiator id // Required: true InitiatorID *string `json:"initiator_id"` // lock period // Required: true LockPeriod *uint64 `json:"lock_period"` // nonce Nonce uint64 `json:"nonce,omitempty"` // push amount // Required: true PushAmount utils.BigInt `json:"push_amount"` // responder amount // Required: true ResponderAmount utils.BigInt `json:"responder_amount"` // responder id // Required: true ResponderID *string `json:"responder_id"` // Root hash of the channel's internal state tree // Required: true StateHash *string `json:"state_hash"` // ttl TTL uint64 `json:"ttl,omitempty"` }
ChannelCreateTx channel create tx swagger:model ChannelCreateTx
func (*ChannelCreateTx) MarshalBinary ¶
func (m *ChannelCreateTx) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChannelCreateTx) UnmarshalBinary ¶
func (m *ChannelCreateTx) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ChannelCreateTxJSON ¶
type ChannelCreateTxJSON struct { ChannelCreateTx // contains filtered or unexported fields }
ChannelCreateTxJSON channel create tx JSON swagger:model ChannelCreateTxJSON
func (*ChannelCreateTxJSON) MarshalBinary ¶
func (m *ChannelCreateTxJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ChannelCreateTxJSON) MarshalJSON ¶
func (m ChannelCreateTxJSON) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*ChannelCreateTxJSON) SetType ¶
func (m *ChannelCreateTxJSON) SetType(val string)
SetType sets the type of this subtype
func (*ChannelCreateTxJSON) SetVersion ¶
func (m *ChannelCreateTxJSON) SetVersion(val *uint32)
SetVersion sets the version of this subtype
func (*ChannelCreateTxJSON) Type ¶
func (m *ChannelCreateTxJSON) Type() string
Type gets the type of this subtype
func (*ChannelCreateTxJSON) UnmarshalBinary ¶
func (m *ChannelCreateTxJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ChannelCreateTxJSON) UnmarshalJSON ¶
func (m *ChannelCreateTxJSON) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
func (*ChannelCreateTxJSON) Validate ¶
func (m *ChannelCreateTxJSON) Validate(formats strfmt.Registry) error
Validate validates this channel create tx JSON
func (*ChannelCreateTxJSON) Version ¶
func (m *ChannelCreateTxJSON) Version() *uint32
Version gets the version of this subtype
type ChannelDepositTx ¶
type ChannelDepositTx struct { // amount // Required: true Amount utils.BigInt `json:"amount"` // channel id // Required: true ChannelID *string `json:"channel_id"` // fee // Required: true Fee utils.BigInt `json:"fee"` // from id // Required: true FromID *string `json:"from_id"` // nonce // Required: true Nonce *uint64 `json:"nonce"` // Channel's next round // Required: true Round *uint64 `json:"round"` // Root hash of the channel's internal state tree after the deposit had been applied to it // Required: true StateHash *string `json:"state_hash"` // ttl TTL uint64 `json:"ttl,omitempty"` }
ChannelDepositTx channel deposit tx swagger:model ChannelDepositTx
func (*ChannelDepositTx) MarshalBinary ¶
func (m *ChannelDepositTx) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChannelDepositTx) UnmarshalBinary ¶
func (m *ChannelDepositTx) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ChannelDepositTxJSON ¶
type ChannelDepositTxJSON struct { ChannelDepositTx // contains filtered or unexported fields }
ChannelDepositTxJSON channel deposit tx JSON swagger:model ChannelDepositTxJSON
func (*ChannelDepositTxJSON) MarshalBinary ¶
func (m *ChannelDepositTxJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ChannelDepositTxJSON) MarshalJSON ¶
func (m ChannelDepositTxJSON) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*ChannelDepositTxJSON) SetType ¶
func (m *ChannelDepositTxJSON) SetType(val string)
SetType sets the type of this subtype
func (*ChannelDepositTxJSON) SetVersion ¶
func (m *ChannelDepositTxJSON) SetVersion(val *uint32)
SetVersion sets the version of this subtype
func (*ChannelDepositTxJSON) Type ¶
func (m *ChannelDepositTxJSON) Type() string
Type gets the type of this subtype
func (*ChannelDepositTxJSON) UnmarshalBinary ¶
func (m *ChannelDepositTxJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ChannelDepositTxJSON) UnmarshalJSON ¶
func (m *ChannelDepositTxJSON) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
func (*ChannelDepositTxJSON) Validate ¶
func (m *ChannelDepositTxJSON) Validate(formats strfmt.Registry) error
Validate validates this channel deposit tx JSON
func (*ChannelDepositTxJSON) Version ¶
func (m *ChannelDepositTxJSON) Version() *uint32
Version gets the version of this subtype
type ChannelForceProgressTx ¶
type ChannelForceProgressTx struct { // channel id // Required: true ChannelID *string `json:"channel_id"` // fee // Required: true Fee utils.BigInt `json:"fee"` // from id // Required: true FromID *string `json:"from_id"` // nonce Nonce uint64 `json:"nonce,omitempty"` // The whole set of off-chain state trees OffchainTrees string `json:"offchain_trees,omitempty"` // payload // Required: true Payload *string `json:"payload"` // Channel's next round // Required: true Round *uint64 `json:"round"` // Channel's next state_hash // Required: true StateHash *string `json:"state_hash"` // ttl TTL uint64 `json:"ttl,omitempty"` // contains filtered or unexported fields }
ChannelForceProgressTx channel force progress tx swagger:model ChannelForceProgressTx
func (*ChannelForceProgressTx) MarshalBinary ¶
func (m *ChannelForceProgressTx) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ChannelForceProgressTx) MarshalJSON ¶
func (m ChannelForceProgressTx) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*ChannelForceProgressTx) SetUpdate ¶
func (m *ChannelForceProgressTx) SetUpdate(val OffChainUpdate)
SetUpdate sets the update of this base type
func (*ChannelForceProgressTx) UnmarshalBinary ¶
func (m *ChannelForceProgressTx) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ChannelForceProgressTx) UnmarshalJSON ¶
func (m *ChannelForceProgressTx) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
func (*ChannelForceProgressTx) Update ¶
func (m *ChannelForceProgressTx) Update() OffChainUpdate
Update gets the update of this base type
type ChannelForceProgressTxJSON ¶
type ChannelForceProgressTxJSON struct { ChannelForceProgressTx // contains filtered or unexported fields }
ChannelForceProgressTxJSON channel force progress tx JSON swagger:model ChannelForceProgressTxJSON
func (*ChannelForceProgressTxJSON) MarshalBinary ¶
func (m *ChannelForceProgressTxJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ChannelForceProgressTxJSON) MarshalJSON ¶
func (m ChannelForceProgressTxJSON) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*ChannelForceProgressTxJSON) SetType ¶
func (m *ChannelForceProgressTxJSON) SetType(val string)
SetType sets the type of this subtype
func (*ChannelForceProgressTxJSON) SetVersion ¶
func (m *ChannelForceProgressTxJSON) SetVersion(val *uint32)
SetVersion sets the version of this subtype
func (*ChannelForceProgressTxJSON) Type ¶
func (m *ChannelForceProgressTxJSON) Type() string
Type gets the type of this subtype
func (*ChannelForceProgressTxJSON) UnmarshalBinary ¶
func (m *ChannelForceProgressTxJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ChannelForceProgressTxJSON) UnmarshalJSON ¶
func (m *ChannelForceProgressTxJSON) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
func (*ChannelForceProgressTxJSON) Validate ¶
func (m *ChannelForceProgressTxJSON) Validate(formats strfmt.Registry) error
Validate validates this channel force progress tx JSON
func (*ChannelForceProgressTxJSON) Version ¶
func (m *ChannelForceProgressTxJSON) Version() *uint32
Version gets the version of this subtype
type ChannelSLASHTx ¶
type ChannelSLASHTx struct { // channel id // Required: true ChannelID *string `json:"channel_id"` // fee // Required: true Fee utils.BigInt `json:"fee"` // from id // Required: true FromID *string `json:"from_id"` // nonce Nonce uint64 `json:"nonce,omitempty"` // payload // Required: true Payload *string `json:"payload"` // Proof of inclusion containing information for closing the channel // Required: true Poi *string `json:"poi"` // ttl TTL uint64 `json:"ttl,omitempty"` }
ChannelSLASHTx channel slash tx swagger:model ChannelSlashTx
func (*ChannelSLASHTx) MarshalBinary ¶
func (m *ChannelSLASHTx) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChannelSLASHTx) UnmarshalBinary ¶
func (m *ChannelSLASHTx) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ChannelSLASHTxJSON ¶
type ChannelSLASHTxJSON struct { ChannelSLASHTx // contains filtered or unexported fields }
ChannelSLASHTxJSON channel slash tx JSON swagger:model ChannelSlashTxJSON
func (*ChannelSLASHTxJSON) MarshalBinary ¶
func (m *ChannelSLASHTxJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ChannelSLASHTxJSON) MarshalJSON ¶
func (m ChannelSLASHTxJSON) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*ChannelSLASHTxJSON) SetType ¶
func (m *ChannelSLASHTxJSON) SetType(val string)
SetType sets the type of this subtype
func (*ChannelSLASHTxJSON) SetVersion ¶
func (m *ChannelSLASHTxJSON) SetVersion(val *uint32)
SetVersion sets the version of this subtype
func (*ChannelSLASHTxJSON) Type ¶
func (m *ChannelSLASHTxJSON) Type() string
Type gets the type of this subtype
func (*ChannelSLASHTxJSON) UnmarshalBinary ¶
func (m *ChannelSLASHTxJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ChannelSLASHTxJSON) UnmarshalJSON ¶
func (m *ChannelSLASHTxJSON) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
func (*ChannelSLASHTxJSON) Validate ¶
func (m *ChannelSLASHTxJSON) Validate(formats strfmt.Registry) error
Validate validates this channel slash tx JSON
func (*ChannelSLASHTxJSON) Version ¶
func (m *ChannelSLASHTxJSON) Version() *uint32
Version gets the version of this subtype
type ChannelSettleTx ¶
type ChannelSettleTx struct { // channel id // Required: true ChannelID *string `json:"channel_id"` // fee // Required: true Fee utils.BigInt `json:"fee"` // from id // Required: true FromID *string `json:"from_id"` // initiator amount final // Required: true InitiatorAmountFinal utils.BigInt `json:"initiator_amount_final"` // nonce // Required: true Nonce *uint64 `json:"nonce"` // responder amount final // Required: true ResponderAmountFinal utils.BigInt `json:"responder_amount_final"` // ttl TTL uint64 `json:"ttl,omitempty"` }
ChannelSettleTx channel settle tx swagger:model ChannelSettleTx
func (*ChannelSettleTx) MarshalBinary ¶
func (m *ChannelSettleTx) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChannelSettleTx) UnmarshalBinary ¶
func (m *ChannelSettleTx) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ChannelSettleTxJSON ¶
type ChannelSettleTxJSON struct { ChannelSettleTx // contains filtered or unexported fields }
ChannelSettleTxJSON channel settle tx JSON swagger:model ChannelSettleTxJSON
func (*ChannelSettleTxJSON) MarshalBinary ¶
func (m *ChannelSettleTxJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ChannelSettleTxJSON) MarshalJSON ¶
func (m ChannelSettleTxJSON) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*ChannelSettleTxJSON) SetType ¶
func (m *ChannelSettleTxJSON) SetType(val string)
SetType sets the type of this subtype
func (*ChannelSettleTxJSON) SetVersion ¶
func (m *ChannelSettleTxJSON) SetVersion(val *uint32)
SetVersion sets the version of this subtype
func (*ChannelSettleTxJSON) Type ¶
func (m *ChannelSettleTxJSON) Type() string
Type gets the type of this subtype
func (*ChannelSettleTxJSON) UnmarshalBinary ¶
func (m *ChannelSettleTxJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ChannelSettleTxJSON) UnmarshalJSON ¶
func (m *ChannelSettleTxJSON) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
func (*ChannelSettleTxJSON) Validate ¶
func (m *ChannelSettleTxJSON) Validate(formats strfmt.Registry) error
Validate validates this channel settle tx JSON
func (*ChannelSettleTxJSON) Version ¶
func (m *ChannelSettleTxJSON) Version() *uint32
Version gets the version of this subtype
type ChannelSnapshotSoloTx ¶
type ChannelSnapshotSoloTx struct { // channel id // Required: true ChannelID *string `json:"channel_id"` // fee // Required: true Fee utils.BigInt `json:"fee"` // from id // Required: true FromID *string `json:"from_id"` // nonce Nonce uint64 `json:"nonce,omitempty"` // payload // Required: true Payload *string `json:"payload"` // ttl TTL uint64 `json:"ttl,omitempty"` }
ChannelSnapshotSoloTx channel snapshot solo tx swagger:model ChannelSnapshotSoloTx
func (*ChannelSnapshotSoloTx) MarshalBinary ¶
func (m *ChannelSnapshotSoloTx) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChannelSnapshotSoloTx) UnmarshalBinary ¶
func (m *ChannelSnapshotSoloTx) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ChannelSnapshotSoloTxJSON ¶
type ChannelSnapshotSoloTxJSON struct { ChannelSnapshotSoloTx // contains filtered or unexported fields }
ChannelSnapshotSoloTxJSON channel snapshot solo tx JSON swagger:model ChannelSnapshotSoloTxJSON
func (*ChannelSnapshotSoloTxJSON) MarshalBinary ¶
func (m *ChannelSnapshotSoloTxJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ChannelSnapshotSoloTxJSON) MarshalJSON ¶
func (m ChannelSnapshotSoloTxJSON) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*ChannelSnapshotSoloTxJSON) SetType ¶
func (m *ChannelSnapshotSoloTxJSON) SetType(val string)
SetType sets the type of this subtype
func (*ChannelSnapshotSoloTxJSON) SetVersion ¶
func (m *ChannelSnapshotSoloTxJSON) SetVersion(val *uint32)
SetVersion sets the version of this subtype
func (*ChannelSnapshotSoloTxJSON) Type ¶
func (m *ChannelSnapshotSoloTxJSON) Type() string
Type gets the type of this subtype
func (*ChannelSnapshotSoloTxJSON) UnmarshalBinary ¶
func (m *ChannelSnapshotSoloTxJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ChannelSnapshotSoloTxJSON) UnmarshalJSON ¶
func (m *ChannelSnapshotSoloTxJSON) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
func (*ChannelSnapshotSoloTxJSON) Validate ¶
func (m *ChannelSnapshotSoloTxJSON) Validate(formats strfmt.Registry) error
Validate validates this channel snapshot solo tx JSON
func (*ChannelSnapshotSoloTxJSON) Version ¶
func (m *ChannelSnapshotSoloTxJSON) Version() *uint32
Version gets the version of this subtype
type ChannelWithdrawTx ¶
type ChannelWithdrawTx struct { // amount // Required: true Amount utils.BigInt `json:"amount"` // channel id // Required: true ChannelID *string `json:"channel_id"` // fee // Required: true Fee utils.BigInt `json:"fee"` // nonce // Required: true Nonce *uint64 `json:"nonce"` // Channel's next round // Required: true Round *uint64 `json:"round"` // Root hash of the channel's internal state tree after the withdraw had been applied to it // Required: true StateHash *string `json:"state_hash"` // to id // Required: true ToID *string `json:"to_id"` // ttl TTL uint64 `json:"ttl,omitempty"` }
ChannelWithdrawTx channel withdraw tx swagger:model ChannelWithdrawTx
func (*ChannelWithdrawTx) MarshalBinary ¶
func (m *ChannelWithdrawTx) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChannelWithdrawTx) UnmarshalBinary ¶
func (m *ChannelWithdrawTx) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ChannelWithdrawalTxJSON ¶
type ChannelWithdrawalTxJSON struct { ChannelWithdrawTx // contains filtered or unexported fields }
ChannelWithdrawalTxJSON channel withdrawal tx JSON swagger:model ChannelWithdrawalTxJSON
func (*ChannelWithdrawalTxJSON) MarshalBinary ¶
func (m *ChannelWithdrawalTxJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ChannelWithdrawalTxJSON) MarshalJSON ¶
func (m ChannelWithdrawalTxJSON) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*ChannelWithdrawalTxJSON) SetType ¶
func (m *ChannelWithdrawalTxJSON) SetType(val string)
SetType sets the type of this subtype
func (*ChannelWithdrawalTxJSON) SetVersion ¶
func (m *ChannelWithdrawalTxJSON) SetVersion(val *uint32)
SetVersion sets the version of this subtype
func (*ChannelWithdrawalTxJSON) Type ¶
func (m *ChannelWithdrawalTxJSON) Type() string
Type gets the type of this subtype
func (*ChannelWithdrawalTxJSON) UnmarshalBinary ¶
func (m *ChannelWithdrawalTxJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ChannelWithdrawalTxJSON) UnmarshalJSON ¶
func (m *ChannelWithdrawalTxJSON) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
func (*ChannelWithdrawalTxJSON) Validate ¶
func (m *ChannelWithdrawalTxJSON) Validate(formats strfmt.Registry) error
Validate validates this channel withdrawal tx JSON
func (*ChannelWithdrawalTxJSON) Version ¶
func (m *ChannelWithdrawalTxJSON) Version() *uint32
Version gets the version of this subtype
type CommitmentID ¶
type CommitmentID struct { // commitment id // Required: true CommitmentID *string `json:"commitment_id"` }
CommitmentID commitment Id swagger:model CommitmentId
func (*CommitmentID) MarshalBinary ¶
func (m *CommitmentID) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CommitmentID) UnmarshalBinary ¶
func (m *CommitmentID) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContractCallObject ¶
type ContractCallObject struct { // caller id // Required: true CallerID *string `json:"caller_id"` // caller nonce // Required: true CallerNonce *uint64 `json:"caller_nonce"` // contract id // Required: true ContractID *string `json:"contract_id"` // gas price // Required: true GasPrice utils.BigInt `json:"gas_price"` // gas used // Required: true GasUsed *uint64 `json:"gas_used"` // height // Required: true Height *uint64 `json:"height"` // log // Required: true Log []*Event `json:"log"` // The status of the call 'ok | error | revert'. // Required: true ReturnType *string `json:"return_type"` // return value // Required: true ReturnValue *string `json:"return_value"` }
ContractCallObject contract call object swagger:model ContractCallObject
func (*ContractCallObject) MarshalBinary ¶
func (m *ContractCallObject) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContractCallObject) UnmarshalBinary ¶
func (m *ContractCallObject) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContractCallTx ¶
type ContractCallTx struct { // ABI version // Required: true AbiVersion *uint16 `json:"abi_version"` // amount // Required: true Amount utils.BigInt `json:"amount"` // Contract call data // Required: true CallData *string `json:"call_data"` // Contract caller pub_key // Required: true CallerID *string `json:"caller_id"` // Contract's pub_key // Required: true ContractID *string `json:"contract_id"` // fee // Required: true Fee utils.BigInt `json:"fee"` // gas // Required: true Gas *uint64 `json:"gas"` // gas price // Required: true GasPrice utils.BigInt `json:"gas_price"` // Caller's nonce Nonce uint64 `json:"nonce,omitempty"` // ttl TTL uint64 `json:"ttl,omitempty"` }
ContractCallTx contract call tx swagger:model ContractCallTx
func (*ContractCallTx) MarshalBinary ¶
func (m *ContractCallTx) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContractCallTx) UnmarshalBinary ¶
func (m *ContractCallTx) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContractCallTxJSON ¶
type ContractCallTxJSON struct { ContractCallTx // contains filtered or unexported fields }
ContractCallTxJSON contract call tx JSON swagger:model ContractCallTxJSON
func (*ContractCallTxJSON) MarshalBinary ¶
func (m *ContractCallTxJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ContractCallTxJSON) MarshalJSON ¶
func (m ContractCallTxJSON) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*ContractCallTxJSON) SetType ¶
func (m *ContractCallTxJSON) SetType(val string)
SetType sets the type of this subtype
func (*ContractCallTxJSON) SetVersion ¶
func (m *ContractCallTxJSON) SetVersion(val *uint32)
SetVersion sets the version of this subtype
func (*ContractCallTxJSON) Type ¶
func (m *ContractCallTxJSON) Type() string
Type gets the type of this subtype
func (*ContractCallTxJSON) UnmarshalBinary ¶
func (m *ContractCallTxJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ContractCallTxJSON) UnmarshalJSON ¶
func (m *ContractCallTxJSON) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
func (*ContractCallTxJSON) Validate ¶
func (m *ContractCallTxJSON) Validate(formats strfmt.Registry) error
Validate validates this contract call tx JSON
func (*ContractCallTxJSON) Version ¶
func (m *ContractCallTxJSON) Version() *uint32
Version gets the version of this subtype
type ContractCreateTx ¶
type ContractCreateTx struct { // ABI version // Required: true AbiVersion *uint16 `json:"abi_version"` // amount // Required: true Amount utils.BigInt `json:"amount"` // Contract call data // Required: true CallData *string `json:"call_data"` // Contract's code // Required: true Code *string `json:"code"` // deposit // Required: true Deposit utils.BigInt `json:"deposit"` // fee // Required: true Fee utils.BigInt `json:"fee"` // gas // Required: true Gas *uint64 `json:"gas"` // gas price // Required: true GasPrice utils.BigInt `json:"gas_price"` // Owner's nonce Nonce uint64 `json:"nonce,omitempty"` // Contract owner pub_key // Required: true OwnerID *string `json:"owner_id"` // ttl TTL uint64 `json:"ttl,omitempty"` // Virtual machine's version // Required: true VMVersion *uint16 `json:"vm_version"` }
ContractCreateTx contract create tx swagger:model ContractCreateTx
func (*ContractCreateTx) MarshalBinary ¶
func (m *ContractCreateTx) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContractCreateTx) UnmarshalBinary ¶
func (m *ContractCreateTx) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContractCreateTxJSON ¶
type ContractCreateTxJSON struct { ContractCreateTx // contains filtered or unexported fields }
ContractCreateTxJSON contract create tx JSON swagger:model ContractCreateTxJSON
func (*ContractCreateTxJSON) MarshalBinary ¶
func (m *ContractCreateTxJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ContractCreateTxJSON) MarshalJSON ¶
func (m ContractCreateTxJSON) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*ContractCreateTxJSON) SetType ¶
func (m *ContractCreateTxJSON) SetType(val string)
SetType sets the type of this subtype
func (*ContractCreateTxJSON) SetVersion ¶
func (m *ContractCreateTxJSON) SetVersion(val *uint32)
SetVersion sets the version of this subtype
func (*ContractCreateTxJSON) Type ¶
func (m *ContractCreateTxJSON) Type() string
Type gets the type of this subtype
func (*ContractCreateTxJSON) UnmarshalBinary ¶
func (m *ContractCreateTxJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ContractCreateTxJSON) UnmarshalJSON ¶
func (m *ContractCreateTxJSON) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
func (*ContractCreateTxJSON) Validate ¶
func (m *ContractCreateTxJSON) Validate(formats strfmt.Registry) error
Validate validates this contract create tx JSON
func (*ContractCreateTxJSON) Version ¶
func (m *ContractCreateTxJSON) Version() *uint32
Version gets the version of this subtype
type ContractObject ¶
type ContractObject struct { // abi version // Required: true AbiVersion *uint16 `json:"abi_version"` // active // Required: true Active *bool `json:"active"` // deposit // Required: true Deposit *uint64 `json:"deposit"` // id // Required: true ID *string `json:"id"` // owner id // Required: true OwnerID *string `json:"owner_id"` // referrer ids // Required: true ReferrerIds []string `json:"referrer_ids"` // vm version // Required: true VMVersion *uint16 `json:"vm_version"` }
ContractObject contract object swagger:model ContractObject
func (*ContractObject) MarshalBinary ¶
func (m *ContractObject) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContractObject) UnmarshalBinary ¶
func (m *ContractObject) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContractStore ¶
type ContractStore struct { // store // Required: true Store []*ContractStoreStoreItems0 `json:"store"` }
ContractStore contract store swagger:model ContractStore
func (*ContractStore) MarshalBinary ¶
func (m *ContractStore) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContractStore) UnmarshalBinary ¶
func (m *ContractStore) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContractStoreStoreItems0 ¶
type ContractStoreStoreItems0 struct { // key Key string `json:"key,omitempty"` // value Value string `json:"value,omitempty"` }
ContractStoreStoreItems0 contract store store items0 swagger:model ContractStoreStoreItems0
func (*ContractStoreStoreItems0) MarshalBinary ¶
func (m *ContractStoreStoreItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContractStoreStoreItems0) UnmarshalBinary ¶
func (m *ContractStoreStoreItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateContractUnsignedTx ¶
type CreateContractUnsignedTx struct { UnsignedTx // Address of the contract to be created // Required: true ContractID *string `json:"contract_id"` }
CreateContractUnsignedTx create contract unsigned tx swagger:model CreateContractUnsignedTx
func (*CreateContractUnsignedTx) MarshalBinary ¶
func (m *CreateContractUnsignedTx) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (CreateContractUnsignedTx) MarshalJSON ¶
func (m CreateContractUnsignedTx) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*CreateContractUnsignedTx) UnmarshalBinary ¶
func (m *CreateContractUnsignedTx) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*CreateContractUnsignedTx) UnmarshalJSON ¶
func (m *CreateContractUnsignedTx) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type DryRunAccount ¶
type DryRunAccount struct { // amount // Required: true Amount utils.BigInt `json:"amount"` // pub key // Required: true PubKey *string `json:"pub_key"` }
DryRunAccount dry run account swagger:model DryRunAccount
func (*DryRunAccount) MarshalBinary ¶
func (m *DryRunAccount) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DryRunAccount) UnmarshalBinary ¶
func (m *DryRunAccount) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DryRunCallContext ¶
type DryRunCallContext struct { // This call will have effects on the next call in this dry-run (or not) Stateful bool `json:"stateful,omitempty"` // tx hash TxHash string `json:"tx_hash,omitempty"` }
DryRunCallContext dry run call context swagger:model DryRunCallContext
func (*DryRunCallContext) MarshalBinary ¶
func (m *DryRunCallContext) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DryRunCallContext) UnmarshalBinary ¶
func (m *DryRunCallContext) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DryRunCallReq ¶
type DryRunCallReq struct { // abi version AbiVersion uint16 `json:"abi_version,omitempty"` // amount Amount utils.BigInt `json:"amount,omitempty"` // calldata // Required: true Calldata *string `json:"calldata"` // caller Caller string `json:"caller,omitempty"` // context Context *DryRunCallContext `json:"context,omitempty"` // contract // Required: true Contract *string `json:"contract"` // gas Gas utils.BigInt `json:"gas,omitempty"` // nonce Nonce uint64 `json:"nonce,omitempty"` }
DryRunCallReq dry run call req swagger:model DryRunCallReq
func (*DryRunCallReq) MarshalBinary ¶
func (m *DryRunCallReq) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DryRunCallReq) UnmarshalBinary ¶
func (m *DryRunCallReq) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DryRunInput ¶
type DryRunInput struct { // Accounts Accounts []*DryRunAccount `json:"accounts"` // top Top string `json:"top,omitempty"` // Txs // Required: true Txs []*DryRunInputItem `json:"txs"` }
DryRunInput dry run input swagger:model DryRunInput
func (*DryRunInput) MarshalBinary ¶
func (m *DryRunInput) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DryRunInput) UnmarshalBinary ¶
func (m *DryRunInput) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DryRunInputItem ¶
type DryRunInputItem struct { // call req CallReq *DryRunCallReq `json:"call_req,omitempty"` // tx Tx string `json:"tx,omitempty"` }
DryRunInputItem dry run input item swagger:model DryRunInputItem
func (*DryRunInputItem) MarshalBinary ¶
func (m *DryRunInputItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DryRunInputItem) UnmarshalBinary ¶
func (m *DryRunInputItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DryRunResult ¶
type DryRunResult struct { // call obj CallObj *ContractCallObject `json:"call_obj,omitempty"` // reason Reason string `json:"reason,omitempty"` // result // Required: true Result *string `json:"result"` // type // Required: true Type *string `json:"type"` }
DryRunResult dry run result swagger:model DryRunResult
func (*DryRunResult) MarshalBinary ¶
func (m *DryRunResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DryRunResult) UnmarshalBinary ¶
func (m *DryRunResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DryRunResults ¶
type DryRunResults struct { // results // Required: true Results []*DryRunResult `json:"results"` }
DryRunResults dry run results swagger:model DryRunResults
func (*DryRunResults) MarshalBinary ¶
func (m *DryRunResults) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DryRunResults) UnmarshalBinary ¶
func (m *DryRunResults) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EncodedByteArray ¶
type EncodedByteArray string
EncodedByteArray Base64Check encoded tagged byte array swagger:model EncodedByteArray
type EncodedHash ¶
type EncodedHash string
EncodedHash Base58Check encoded tagged hash swagger:model EncodedHash
type EncodedPubkey ¶
type EncodedPubkey string
EncodedPubkey Base58Check encoded tagged pubkey swagger:model EncodedPubkey
type EncodedValue ¶
type EncodedValue string
EncodedValue Base58Check encoded tagged value swagger:model EncodedValue
type Error ¶
type Error struct { // reason // Required: true Reason *string `json:"reason"` }
Error error swagger:model Error
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Event ¶
type Event struct { // Contract address // Required: true Address *string `json:"address"` // Log event data (as contract byte array). // Required: true Data *string `json:"data"` // Event topics // Required: true Topics []utils.BigInt `json:"topics"` }
Event event swagger:model Event
func (*Event) MarshalBinary ¶
MarshalBinary interface implementation
func (*Event) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type GAAttachTx ¶
type GAAttachTx struct { // ABI version // Required: true AbiVersion *uint16 `json:"abi_version"` // Contract authorization function hash (hex encoded) // Required: true // Pattern: ^(0x|0X)?[a-fA-F0-9]+$' AuthFun *string `json:"auth_fun"` // Contract call data // Required: true CallData *string `json:"call_data"` // Contract's code // Required: true Code *string `json:"code"` // fee // Required: true Fee utils.BigInt `json:"fee"` // gas // Required: true Gas *uint64 `json:"gas"` // gas price // Required: true GasPrice utils.BigInt `json:"gas_price"` // Owner's nonce Nonce uint64 `json:"nonce,omitempty"` // Contract owner pub_key // Required: true OwnerID *string `json:"owner_id"` // ttl TTL uint64 `json:"ttl,omitempty"` // Virtual machine's version // Required: true VMVersion *uint16 `json:"vm_version"` }
GAAttachTx g a attach tx swagger:model GAAttachTx
func (*GAAttachTx) MarshalBinary ¶
func (m *GAAttachTx) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GAAttachTx) UnmarshalBinary ¶
func (m *GAAttachTx) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GAAttachTxJSON ¶
type GAAttachTxJSON struct { GAAttachTx // contains filtered or unexported fields }
GAAttachTxJSON g a attach tx JSON swagger:model GAAttachTxJSON
func (*GAAttachTxJSON) MarshalBinary ¶
func (m *GAAttachTxJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (GAAttachTxJSON) MarshalJSON ¶
func (m GAAttachTxJSON) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*GAAttachTxJSON) SetType ¶
func (m *GAAttachTxJSON) SetType(val string)
SetType sets the type of this subtype
func (*GAAttachTxJSON) SetVersion ¶
func (m *GAAttachTxJSON) SetVersion(val *uint32)
SetVersion sets the version of this subtype
func (*GAAttachTxJSON) Type ¶
func (m *GAAttachTxJSON) Type() string
Type gets the type of this subtype
func (*GAAttachTxJSON) UnmarshalBinary ¶
func (m *GAAttachTxJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GAAttachTxJSON) UnmarshalJSON ¶
func (m *GAAttachTxJSON) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
func (*GAAttachTxJSON) Validate ¶
func (m *GAAttachTxJSON) Validate(formats strfmt.Registry) error
Validate validates this g a attach tx JSON
func (*GAAttachTxJSON) Version ¶
func (m *GAAttachTxJSON) Version() *uint32
Version gets the version of this subtype
type GAMetaTx ¶
type GAMetaTx struct { // ABI version // Required: true AbiVersion *uint16 `json:"abi_version"` // Contract authorization function call data // Required: true AuthData *string `json:"auth_data"` // fee // Required: true Fee utils.BigInt `json:"fee"` // Account owner pub_key // Required: true GaID *string `json:"ga_id"` // gas // Required: true Gas *uint64 `json:"gas"` // gas price // Required: true GasPrice utils.BigInt `json:"gas_price"` // ttl TTL uint64 `json:"ttl,omitempty"` // Enclosed signed transaction // Required: true Tx *GenericSignedTx `json:"tx"` }
GAMetaTx g a meta tx swagger:model GAMetaTx
func (*GAMetaTx) MarshalBinary ¶
MarshalBinary interface implementation
func (*GAMetaTx) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type GAMetaTxJSON ¶
type GAMetaTxJSON struct { GAMetaTx // contains filtered or unexported fields }
GAMetaTxJSON g a meta tx JSON swagger:model GAMetaTxJSON
func (*GAMetaTxJSON) MarshalBinary ¶
func (m *GAMetaTxJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (GAMetaTxJSON) MarshalJSON ¶
func (m GAMetaTxJSON) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*GAMetaTxJSON) SetType ¶
func (m *GAMetaTxJSON) SetType(val string)
SetType sets the type of this subtype
func (*GAMetaTxJSON) SetVersion ¶
func (m *GAMetaTxJSON) SetVersion(val *uint32)
SetVersion sets the version of this subtype
func (*GAMetaTxJSON) UnmarshalBinary ¶
func (m *GAMetaTxJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GAMetaTxJSON) UnmarshalJSON ¶
func (m *GAMetaTxJSON) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
func (*GAMetaTxJSON) Validate ¶
func (m *GAMetaTxJSON) Validate(formats strfmt.Registry) error
Validate validates this g a meta tx JSON
func (*GAMetaTxJSON) Version ¶
func (m *GAMetaTxJSON) Version() *uint32
Version gets the version of this subtype
type GAObject ¶
type GAObject struct { // caller id // Required: true CallerID *string `json:"caller_id"` // gas price // Required: true GasPrice utils.BigInt `json:"gas_price"` // gas used // Required: true GasUsed *uint64 `json:"gas_used"` // height // Required: true Height *uint64 `json:"height"` // inner object InnerObject *TxInfoObject `json:"inner_object,omitempty"` // The status of the call 'ok | error'. // Required: true ReturnType *string `json:"return_type"` // return value // Required: true ReturnValue *string `json:"return_value"` }
GAObject g a object swagger:model GAObject
func (*GAObject) MarshalBinary ¶
MarshalBinary interface implementation
func (*GAObject) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Generation ¶
type Generation struct { // key block // Required: true KeyBlock *KeyBlock `json:"key_block"` // micro blocks // Required: true MicroBlocks []string `json:"micro_blocks"` }
Generation generation swagger:model Generation
func (*Generation) MarshalBinary ¶
func (m *Generation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Generation) UnmarshalBinary ¶
func (m *Generation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GenericSignedTx ¶
type GenericSignedTx struct { // Value "none" means no block in the chain includes the transaction // Required: true BlockHash *string `json:"block_hash"` // block height // Required: true BlockHeight utils.BigInt `json:"block_height"` // hash // Required: true Hash *string `json:"hash"` // At least one signature is required unless for Generalized Account Meta transactions Signatures []string `json:"signatures"` // contains filtered or unexported fields }
GenericSignedTx generic signed tx swagger:model GenericSignedTx
func (*GenericSignedTx) MarshalBinary ¶
func (m *GenericSignedTx) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (GenericSignedTx) MarshalJSON ¶
func (m GenericSignedTx) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*GenericSignedTx) SetTx ¶
func (m *GenericSignedTx) SetTx(val GenericTx)
SetTx sets the tx of this base type
func (*GenericSignedTx) Tx ¶
func (m *GenericSignedTx) Tx() GenericTx
Tx gets the tx of this base type
func (*GenericSignedTx) UnmarshalBinary ¶
func (m *GenericSignedTx) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GenericSignedTx) UnmarshalJSON ¶
func (m *GenericSignedTx) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type GenericTx ¶
type GenericTx interface { runtime.Validatable // type // Required: true Type() string SetType(string) // version // Required: true Version() *uint32 SetVersion(*uint32) }
GenericTx generic tx swagger:discriminator GenericTx type
func UnmarshalGenericTx ¶
UnmarshalGenericTx unmarshals polymorphic GenericTx
type GenericTxs ¶
type GenericTxs struct { // transactions // Required: true Transactions []*GenericSignedTx `json:"transactions"` }
GenericTxs generic txs swagger:model GenericTxs
func (*GenericTxs) MarshalBinary ¶
func (m *GenericTxs) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GenericTxs) UnmarshalBinary ¶
func (m *GenericTxs) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type KeyBlock ¶
type KeyBlock struct { // beneficiary // Required: true Beneficiary *string `json:"beneficiary"` // hash // Required: true Hash *string `json:"hash"` // height // Required: true Height *uint64 `json:"height"` // info // Required: true Info *string `json:"info"` // miner // Required: true Miner *string `json:"miner"` // nonce Nonce uint64 `json:"nonce,omitempty"` // pow Pow Pow `json:"pow,omitempty"` // prev hash // Required: true PrevHash *string `json:"prev_hash"` // prev key hash // Required: true PrevKeyHash *string `json:"prev_key_hash"` // state hash // Required: true StateHash *string `json:"state_hash"` // target // Required: true Target *uint32 `json:"target"` // time // Required: true Time *uint64 `json:"time"` // version // Required: true Version *uint32 `json:"version"` }
KeyBlock key block swagger:model KeyBlock
func (*KeyBlock) MarshalBinary ¶
MarshalBinary interface implementation
func (*KeyBlock) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type KeyBlockOrMicroBlockHeader ¶
type KeyBlockOrMicroBlockHeader struct { // key block KeyBlock *KeyBlock `json:"key_block,omitempty"` // micro block MicroBlock *MicroBlockHeader `json:"micro_block,omitempty"` }
KeyBlockOrMicroBlockHeader key block or micro block header swagger:model KeyBlockOrMicroBlockHeader
func (*KeyBlockOrMicroBlockHeader) MarshalBinary ¶
func (m *KeyBlockOrMicroBlockHeader) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*KeyBlockOrMicroBlockHeader) UnmarshalBinary ¶
func (m *KeyBlockOrMicroBlockHeader) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MicroBlockHeader ¶
type MicroBlockHeader struct { // hash // Required: true Hash *string `json:"hash"` // height // Required: true Height *uint64 `json:"height"` // "no_fraud" | api encoded Proof of Fraud hash // Required: true PofHash *string `json:"pof_hash"` // prev hash // Required: true PrevHash *string `json:"prev_hash"` // prev key hash // Required: true PrevKeyHash *string `json:"prev_key_hash"` // signature // Required: true Signature *string `json:"signature"` // state hash // Required: true StateHash *string `json:"state_hash"` // time // Required: true Time *uint64 `json:"time"` // txs hash // Required: true TxsHash *string `json:"txs_hash"` // version // Required: true Version *uint32 `json:"version"` }
MicroBlockHeader micro block header swagger:model MicroBlockHeader
func (*MicroBlockHeader) MarshalBinary ¶
func (m *MicroBlockHeader) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MicroBlockHeader) UnmarshalBinary ¶
func (m *MicroBlockHeader) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NameClaimTx ¶
type NameClaimTx struct { // account id // Required: true AccountID *string `json:"account_id"` // fee // Required: true Fee utils.BigInt `json:"fee"` // name // Required: true Name *string `json:"name"` // name fee NameFee utils.BigInt `json:"name_fee,omitempty"` // name salt // Required: true NameSalt utils.BigInt `json:"name_salt"` // nonce Nonce uint64 `json:"nonce,omitempty"` // ttl TTL uint64 `json:"ttl,omitempty"` }
NameClaimTx name claim tx swagger:model NameClaimTx
func (*NameClaimTx) MarshalBinary ¶
func (m *NameClaimTx) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NameClaimTx) UnmarshalBinary ¶
func (m *NameClaimTx) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NameClaimTxJSON ¶
type NameClaimTxJSON struct { NameClaimTx // contains filtered or unexported fields }
NameClaimTxJSON name claim tx JSON swagger:model NameClaimTxJSON
func (*NameClaimTxJSON) MarshalBinary ¶
func (m *NameClaimTxJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (NameClaimTxJSON) MarshalJSON ¶
func (m NameClaimTxJSON) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*NameClaimTxJSON) SetType ¶
func (m *NameClaimTxJSON) SetType(val string)
SetType sets the type of this subtype
func (*NameClaimTxJSON) SetVersion ¶
func (m *NameClaimTxJSON) SetVersion(val *uint32)
SetVersion sets the version of this subtype
func (*NameClaimTxJSON) Type ¶
func (m *NameClaimTxJSON) Type() string
Type gets the type of this subtype
func (*NameClaimTxJSON) UnmarshalBinary ¶
func (m *NameClaimTxJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*NameClaimTxJSON) UnmarshalJSON ¶
func (m *NameClaimTxJSON) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
func (*NameClaimTxJSON) Validate ¶
func (m *NameClaimTxJSON) Validate(formats strfmt.Registry) error
Validate validates this name claim tx JSON
func (*NameClaimTxJSON) Version ¶
func (m *NameClaimTxJSON) Version() *uint32
Version gets the version of this subtype
type NameEntry ¶
type NameEntry struct { // id // Required: true ID *string `json:"id"` // pointers // Required: true Pointers []*NamePointer `json:"pointers"` // ttl // Required: true TTL *uint64 `json:"ttl"` }
NameEntry name entry swagger:model NameEntry
func (*NameEntry) MarshalBinary ¶
MarshalBinary interface implementation
func (*NameEntry) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type NameHash ¶
type NameHash struct { // name id // Required: true NameID *string `json:"name_id"` }
NameHash name hash swagger:model NameHash
func (*NameHash) MarshalBinary ¶
MarshalBinary interface implementation
func (*NameHash) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type NamePointer ¶
type NamePointer struct { // id // Required: true ID *string `json:"id"` // key // Required: true Key *string `json:"key"` }
NamePointer name pointer swagger:model NamePointer
func (*NamePointer) MarshalBinary ¶
func (m *NamePointer) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NamePointer) UnmarshalBinary ¶
func (m *NamePointer) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NamePreclaimTx ¶
type NamePreclaimTx struct { // account id // Required: true AccountID *string `json:"account_id"` // commitment id // Required: true CommitmentID *string `json:"commitment_id"` // fee // Required: true Fee utils.BigInt `json:"fee"` // nonce Nonce uint64 `json:"nonce,omitempty"` // ttl TTL uint64 `json:"ttl,omitempty"` }
NamePreclaimTx name preclaim tx swagger:model NamePreclaimTx
func (*NamePreclaimTx) MarshalBinary ¶
func (m *NamePreclaimTx) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NamePreclaimTx) UnmarshalBinary ¶
func (m *NamePreclaimTx) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NamePreclaimTxJSON ¶
type NamePreclaimTxJSON struct { NamePreclaimTx // contains filtered or unexported fields }
NamePreclaimTxJSON name preclaim tx JSON swagger:model NamePreclaimTxJSON
func (*NamePreclaimTxJSON) MarshalBinary ¶
func (m *NamePreclaimTxJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (NamePreclaimTxJSON) MarshalJSON ¶
func (m NamePreclaimTxJSON) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*NamePreclaimTxJSON) SetType ¶
func (m *NamePreclaimTxJSON) SetType(val string)
SetType sets the type of this subtype
func (*NamePreclaimTxJSON) SetVersion ¶
func (m *NamePreclaimTxJSON) SetVersion(val *uint32)
SetVersion sets the version of this subtype
func (*NamePreclaimTxJSON) Type ¶
func (m *NamePreclaimTxJSON) Type() string
Type gets the type of this subtype
func (*NamePreclaimTxJSON) UnmarshalBinary ¶
func (m *NamePreclaimTxJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*NamePreclaimTxJSON) UnmarshalJSON ¶
func (m *NamePreclaimTxJSON) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
func (*NamePreclaimTxJSON) Validate ¶
func (m *NamePreclaimTxJSON) Validate(formats strfmt.Registry) error
Validate validates this name preclaim tx JSON
func (*NamePreclaimTxJSON) Version ¶
func (m *NamePreclaimTxJSON) Version() *uint32
Version gets the version of this subtype
type NameRevokeTx ¶
type NameRevokeTx struct { // account id // Required: true AccountID *string `json:"account_id"` // fee // Required: true Fee utils.BigInt `json:"fee"` // name id // Required: true NameID *string `json:"name_id"` // nonce Nonce uint64 `json:"nonce,omitempty"` // ttl TTL uint64 `json:"ttl,omitempty"` }
NameRevokeTx name revoke tx swagger:model NameRevokeTx
func (*NameRevokeTx) MarshalBinary ¶
func (m *NameRevokeTx) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NameRevokeTx) UnmarshalBinary ¶
func (m *NameRevokeTx) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NameRevokeTxJSON ¶
type NameRevokeTxJSON struct { NameRevokeTx // contains filtered or unexported fields }
NameRevokeTxJSON name revoke tx JSON swagger:model NameRevokeTxJSON
func (*NameRevokeTxJSON) MarshalBinary ¶
func (m *NameRevokeTxJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (NameRevokeTxJSON) MarshalJSON ¶
func (m NameRevokeTxJSON) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*NameRevokeTxJSON) SetType ¶
func (m *NameRevokeTxJSON) SetType(val string)
SetType sets the type of this subtype
func (*NameRevokeTxJSON) SetVersion ¶
func (m *NameRevokeTxJSON) SetVersion(val *uint32)
SetVersion sets the version of this subtype
func (*NameRevokeTxJSON) Type ¶
func (m *NameRevokeTxJSON) Type() string
Type gets the type of this subtype
func (*NameRevokeTxJSON) UnmarshalBinary ¶
func (m *NameRevokeTxJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*NameRevokeTxJSON) UnmarshalJSON ¶
func (m *NameRevokeTxJSON) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
func (*NameRevokeTxJSON) Validate ¶
func (m *NameRevokeTxJSON) Validate(formats strfmt.Registry) error
Validate validates this name revoke tx JSON
func (*NameRevokeTxJSON) Version ¶
func (m *NameRevokeTxJSON) Version() *uint32
Version gets the version of this subtype
type NameTransferTx ¶
type NameTransferTx struct { // account id // Required: true AccountID *string `json:"account_id"` // fee // Required: true Fee utils.BigInt `json:"fee"` // name id // Required: true NameID *string `json:"name_id"` // nonce Nonce uint64 `json:"nonce,omitempty"` // recipient id // Required: true RecipientID *string `json:"recipient_id"` // ttl TTL uint64 `json:"ttl,omitempty"` }
NameTransferTx name transfer tx swagger:model NameTransferTx
func (*NameTransferTx) MarshalBinary ¶
func (m *NameTransferTx) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NameTransferTx) UnmarshalBinary ¶
func (m *NameTransferTx) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NameTransferTxJSON ¶
type NameTransferTxJSON struct { NameTransferTx // contains filtered or unexported fields }
NameTransferTxJSON name transfer tx JSON swagger:model NameTransferTxJSON
func (*NameTransferTxJSON) MarshalBinary ¶
func (m *NameTransferTxJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (NameTransferTxJSON) MarshalJSON ¶
func (m NameTransferTxJSON) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*NameTransferTxJSON) SetType ¶
func (m *NameTransferTxJSON) SetType(val string)
SetType sets the type of this subtype
func (*NameTransferTxJSON) SetVersion ¶
func (m *NameTransferTxJSON) SetVersion(val *uint32)
SetVersion sets the version of this subtype
func (*NameTransferTxJSON) Type ¶
func (m *NameTransferTxJSON) Type() string
Type gets the type of this subtype
func (*NameTransferTxJSON) UnmarshalBinary ¶
func (m *NameTransferTxJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*NameTransferTxJSON) UnmarshalJSON ¶
func (m *NameTransferTxJSON) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
func (*NameTransferTxJSON) Validate ¶
func (m *NameTransferTxJSON) Validate(formats strfmt.Registry) error
Validate validates this name transfer tx JSON
func (*NameTransferTxJSON) Version ¶
func (m *NameTransferTxJSON) Version() *uint32
Version gets the version of this subtype
type NameUpdateTx ¶
type NameUpdateTx struct { // account id // Required: true AccountID *string `json:"account_id"` // client ttl // Required: true ClientTTL *uint64 `json:"client_ttl"` // fee // Required: true Fee utils.BigInt `json:"fee"` // name id // Required: true NameID *string `json:"name_id"` // name ttl // Required: true NameTTL *uint64 `json:"name_ttl"` // nonce Nonce uint64 `json:"nonce,omitempty"` // pointers // Required: true Pointers []*NamePointer `json:"pointers"` // ttl TTL uint64 `json:"ttl,omitempty"` }
NameUpdateTx name update tx swagger:model NameUpdateTx
func (*NameUpdateTx) MarshalBinary ¶
func (m *NameUpdateTx) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NameUpdateTx) UnmarshalBinary ¶
func (m *NameUpdateTx) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NameUpdateTxJSON ¶
type NameUpdateTxJSON struct { NameUpdateTx // contains filtered or unexported fields }
NameUpdateTxJSON name update tx JSON swagger:model NameUpdateTxJSON
func (*NameUpdateTxJSON) MarshalBinary ¶
func (m *NameUpdateTxJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (NameUpdateTxJSON) MarshalJSON ¶
func (m NameUpdateTxJSON) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*NameUpdateTxJSON) SetType ¶
func (m *NameUpdateTxJSON) SetType(val string)
SetType sets the type of this subtype
func (*NameUpdateTxJSON) SetVersion ¶
func (m *NameUpdateTxJSON) SetVersion(val *uint32)
SetVersion sets the version of this subtype
func (*NameUpdateTxJSON) Type ¶
func (m *NameUpdateTxJSON) Type() string
Type gets the type of this subtype
func (*NameUpdateTxJSON) UnmarshalBinary ¶
func (m *NameUpdateTxJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*NameUpdateTxJSON) UnmarshalJSON ¶
func (m *NameUpdateTxJSON) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
func (*NameUpdateTxJSON) Validate ¶
func (m *NameUpdateTxJSON) Validate(formats strfmt.Registry) error
Validate validates this name update tx JSON
func (*NameUpdateTxJSON) Version ¶
func (m *NameUpdateTxJSON) Version() *uint32
Version gets the version of this subtype
type OffChainCallContract ¶
type OffChainCallContract struct { // abi version // Required: true AbiVersion *uint16 `json:"abi_version"` // amount // Required: true Amount utils.BigInt `json:"amount"` // Contract call data // Required: true CallData *string `json:"call_data"` // Contract caller // Required: true Caller *string `json:"caller"` // Contract address // Required: true Contract *string `json:"contract"` // gas // Required: true Gas *uint64 `json:"gas"` // gas price // Required: true GasPrice utils.BigInt `json:"gas_price"` }
OffChainCallContract off chain call contract swagger:model OffChainCallContract
func (*OffChainCallContract) MarshalBinary ¶
func (m *OffChainCallContract) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (OffChainCallContract) MarshalJSON ¶
func (m OffChainCallContract) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*OffChainCallContract) Op ¶
func (m *OffChainCallContract) Op() string
Op gets the op of this subtype
func (*OffChainCallContract) SetOp ¶
func (m *OffChainCallContract) SetOp(val string)
SetOp sets the op of this subtype
func (*OffChainCallContract) UnmarshalBinary ¶
func (m *OffChainCallContract) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*OffChainCallContract) UnmarshalJSON ¶
func (m *OffChainCallContract) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type OffChainDeposit ¶
type OffChainDeposit struct { // amount // Required: true Amount utils.BigInt `json:"amount"` // Depositor of tokens // Required: true From *string `json:"from"` }
OffChainDeposit off chain deposit swagger:model OffChainDeposit
func (*OffChainDeposit) MarshalBinary ¶
func (m *OffChainDeposit) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (OffChainDeposit) MarshalJSON ¶
func (m OffChainDeposit) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*OffChainDeposit) SetOp ¶
func (m *OffChainDeposit) SetOp(val string)
SetOp sets the op of this subtype
func (*OffChainDeposit) UnmarshalBinary ¶
func (m *OffChainDeposit) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*OffChainDeposit) UnmarshalJSON ¶
func (m *OffChainDeposit) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type OffChainNewContract ¶
type OffChainNewContract struct { // abi version // Required: true AbiVersion *uint16 `json:"abi_version"` // Contract call data // Required: true CallData *string `json:"call_data"` // code // Required: true Code *ByteCode `json:"code"` // deposit // Required: true Deposit utils.BigInt `json:"deposit"` // Contract owner // Required: true Owner *string `json:"owner"` // vm version // Required: true VMVersion *uint16 `json:"vm_version"` }
OffChainNewContract off chain new contract swagger:model OffChainNewContract
func (*OffChainNewContract) MarshalBinary ¶
func (m *OffChainNewContract) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (OffChainNewContract) MarshalJSON ¶
func (m OffChainNewContract) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*OffChainNewContract) Op ¶
func (m *OffChainNewContract) Op() string
Op gets the op of this subtype
func (*OffChainNewContract) SetOp ¶
func (m *OffChainNewContract) SetOp(val string)
SetOp sets the op of this subtype
func (*OffChainNewContract) UnmarshalBinary ¶
func (m *OffChainNewContract) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*OffChainNewContract) UnmarshalJSON ¶
func (m *OffChainNewContract) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type OffChainTransfer ¶
type OffChainTransfer struct { // amount // Required: true Amount utils.BigInt `json:"amount"` // Sender of tokens // Required: true From *string `json:"from"` // Receiver of tokens // Required: true To *string `json:"to"` }
OffChainTransfer off chain transfer swagger:model OffChainTransfer
func (*OffChainTransfer) MarshalBinary ¶
func (m *OffChainTransfer) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (OffChainTransfer) MarshalJSON ¶
func (m OffChainTransfer) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*OffChainTransfer) SetOp ¶
func (m *OffChainTransfer) SetOp(val string)
SetOp sets the op of this subtype
func (*OffChainTransfer) UnmarshalBinary ¶
func (m *OffChainTransfer) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*OffChainTransfer) UnmarshalJSON ¶
func (m *OffChainTransfer) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type OffChainUpdate ¶
type OffChainUpdate interface { runtime.Validatable // op // Required: true Op() string SetOp(string) }
OffChainUpdate off chain update swagger:discriminator OffChainUpdate op
func UnmarshalOffChainUpdate ¶
UnmarshalOffChainUpdate unmarshals polymorphic OffChainUpdate
func UnmarshalOffChainUpdateSlice ¶
func UnmarshalOffChainUpdateSlice(reader io.Reader, consumer runtime.Consumer) ([]OffChainUpdate, error)
UnmarshalOffChainUpdateSlice unmarshals polymorphic slices of OffChainUpdate
type OffChainWithdrawal ¶
type OffChainWithdrawal struct { // amount // Required: true Amount utils.BigInt `json:"amount"` // Withdrawer of tokens // Required: true To *string `json:"to"` }
OffChainWithdrawal off chain withdrawal swagger:model OffChainWithdrawal
func (*OffChainWithdrawal) MarshalBinary ¶
func (m *OffChainWithdrawal) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (OffChainWithdrawal) MarshalJSON ¶
func (m OffChainWithdrawal) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*OffChainWithdrawal) Op ¶
func (m *OffChainWithdrawal) Op() string
Op gets the op of this subtype
func (*OffChainWithdrawal) SetOp ¶
func (m *OffChainWithdrawal) SetOp(val string)
SetOp sets the op of this subtype
func (*OffChainWithdrawal) UnmarshalBinary ¶
func (m *OffChainWithdrawal) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*OffChainWithdrawal) UnmarshalJSON ¶
func (m *OffChainWithdrawal) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type OracleExtendTx ¶
type OracleExtendTx struct { // fee // Required: true Fee utils.BigInt `json:"fee"` // nonce Nonce uint64 `json:"nonce,omitempty"` // oracle id // Required: true OracleID *string `json:"oracle_id"` // oracle ttl // Required: true OracleTTL *RelativeTTL `json:"oracle_ttl"` // ttl TTL uint64 `json:"ttl,omitempty"` }
OracleExtendTx oracle extend tx swagger:model OracleExtendTx
func (*OracleExtendTx) MarshalBinary ¶
func (m *OracleExtendTx) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OracleExtendTx) UnmarshalBinary ¶
func (m *OracleExtendTx) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OracleExtendTxJSON ¶
type OracleExtendTxJSON struct { OracleExtendTx // contains filtered or unexported fields }
OracleExtendTxJSON oracle extend tx JSON swagger:model OracleExtendTxJSON
func (*OracleExtendTxJSON) MarshalBinary ¶
func (m *OracleExtendTxJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (OracleExtendTxJSON) MarshalJSON ¶
func (m OracleExtendTxJSON) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*OracleExtendTxJSON) SetType ¶
func (m *OracleExtendTxJSON) SetType(val string)
SetType sets the type of this subtype
func (*OracleExtendTxJSON) SetVersion ¶
func (m *OracleExtendTxJSON) SetVersion(val *uint32)
SetVersion sets the version of this subtype
func (*OracleExtendTxJSON) Type ¶
func (m *OracleExtendTxJSON) Type() string
Type gets the type of this subtype
func (*OracleExtendTxJSON) UnmarshalBinary ¶
func (m *OracleExtendTxJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*OracleExtendTxJSON) UnmarshalJSON ¶
func (m *OracleExtendTxJSON) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
func (*OracleExtendTxJSON) Validate ¶
func (m *OracleExtendTxJSON) Validate(formats strfmt.Registry) error
Validate validates this oracle extend tx JSON
func (*OracleExtendTxJSON) Version ¶
func (m *OracleExtendTxJSON) Version() *uint32
Version gets the version of this subtype
type OracleQueries ¶
type OracleQueries struct { // oracle queries // Required: true OracleQueries []*OracleQuery `json:"oracle_queries"` }
OracleQueries oracle queries swagger:model OracleQueries
func (*OracleQueries) MarshalBinary ¶
func (m *OracleQueries) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OracleQueries) UnmarshalBinary ¶
func (m *OracleQueries) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OracleQuery ¶
type OracleQuery struct { // fee // Required: true Fee utils.BigInt `json:"fee"` // id // Required: true ID *string `json:"id"` // oracle id // Required: true OracleID *string `json:"oracle_id"` // query // Required: true Query *string `json:"query"` // response // Required: true Response *string `json:"response"` // response ttl // Required: true ResponseTTL *TTL `json:"response_ttl"` // sender id // Required: true SenderID *string `json:"sender_id"` // sender nonce // Required: true SenderNonce *uint64 `json:"sender_nonce"` // ttl // Required: true TTL *uint64 `json:"ttl"` }
OracleQuery oracle query swagger:model OracleQuery
func (*OracleQuery) MarshalBinary ¶
func (m *OracleQuery) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OracleQuery) UnmarshalBinary ¶
func (m *OracleQuery) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OracleQueryTx ¶
type OracleQueryTx struct { // fee // Required: true Fee utils.BigInt `json:"fee"` // Sender nonce Nonce uint64 `json:"nonce,omitempty"` // oracle id // Required: true OracleID *string `json:"oracle_id"` // query // Required: true Query *string `json:"query"` // query fee // Required: true QueryFee utils.BigInt `json:"query_fee"` // query ttl // Required: true QueryTTL *TTL `json:"query_ttl"` // response ttl // Required: true ResponseTTL *RelativeTTL `json:"response_ttl"` // sender id // Required: true SenderID *string `json:"sender_id"` // ttl TTL uint64 `json:"ttl,omitempty"` }
OracleQueryTx oracle query tx swagger:model OracleQueryTx
func (*OracleQueryTx) MarshalBinary ¶
func (m *OracleQueryTx) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OracleQueryTx) UnmarshalBinary ¶
func (m *OracleQueryTx) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OracleQueryTxJSON ¶
type OracleQueryTxJSON struct { OracleQueryTx // contains filtered or unexported fields }
OracleQueryTxJSON oracle query tx JSON swagger:model OracleQueryTxJSON
func (*OracleQueryTxJSON) MarshalBinary ¶
func (m *OracleQueryTxJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (OracleQueryTxJSON) MarshalJSON ¶
func (m OracleQueryTxJSON) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*OracleQueryTxJSON) SetType ¶
func (m *OracleQueryTxJSON) SetType(val string)
SetType sets the type of this subtype
func (*OracleQueryTxJSON) SetVersion ¶
func (m *OracleQueryTxJSON) SetVersion(val *uint32)
SetVersion sets the version of this subtype
func (*OracleQueryTxJSON) Type ¶
func (m *OracleQueryTxJSON) Type() string
Type gets the type of this subtype
func (*OracleQueryTxJSON) UnmarshalBinary ¶
func (m *OracleQueryTxJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*OracleQueryTxJSON) UnmarshalJSON ¶
func (m *OracleQueryTxJSON) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
func (*OracleQueryTxJSON) Validate ¶
func (m *OracleQueryTxJSON) Validate(formats strfmt.Registry) error
Validate validates this oracle query tx JSON
func (*OracleQueryTxJSON) Version ¶
func (m *OracleQueryTxJSON) Version() *uint32
Version gets the version of this subtype
type OracleRegisterTx ¶
type OracleRegisterTx struct { // abi version AbiVersion uint16 `json:"abi_version,omitempty"` // account id // Required: true AccountID *string `json:"account_id"` // fee // Required: true Fee utils.BigInt `json:"fee"` // nonce Nonce uint64 `json:"nonce,omitempty"` // oracle ttl // Required: true OracleTTL *TTL `json:"oracle_ttl"` // query fee // Required: true QueryFee utils.BigInt `json:"query_fee"` // query format // Required: true QueryFormat *string `json:"query_format"` // response format // Required: true ResponseFormat *string `json:"response_format"` // ttl TTL uint64 `json:"ttl,omitempty"` }
OracleRegisterTx oracle register tx swagger:model OracleRegisterTx
func (*OracleRegisterTx) MarshalBinary ¶
func (m *OracleRegisterTx) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OracleRegisterTx) UnmarshalBinary ¶
func (m *OracleRegisterTx) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OracleRegisterTxJSON ¶
type OracleRegisterTxJSON struct { OracleRegisterTx // contains filtered or unexported fields }
OracleRegisterTxJSON oracle register tx JSON swagger:model OracleRegisterTxJSON
func (*OracleRegisterTxJSON) MarshalBinary ¶
func (m *OracleRegisterTxJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (OracleRegisterTxJSON) MarshalJSON ¶
func (m OracleRegisterTxJSON) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*OracleRegisterTxJSON) SetType ¶
func (m *OracleRegisterTxJSON) SetType(val string)
SetType sets the type of this subtype
func (*OracleRegisterTxJSON) SetVersion ¶
func (m *OracleRegisterTxJSON) SetVersion(val *uint32)
SetVersion sets the version of this subtype
func (*OracleRegisterTxJSON) Type ¶
func (m *OracleRegisterTxJSON) Type() string
Type gets the type of this subtype
func (*OracleRegisterTxJSON) UnmarshalBinary ¶
func (m *OracleRegisterTxJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*OracleRegisterTxJSON) UnmarshalJSON ¶
func (m *OracleRegisterTxJSON) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
func (*OracleRegisterTxJSON) Validate ¶
func (m *OracleRegisterTxJSON) Validate(formats strfmt.Registry) error
Validate validates this oracle register tx JSON
func (*OracleRegisterTxJSON) Version ¶
func (m *OracleRegisterTxJSON) Version() *uint32
Version gets the version of this subtype
type OracleRespondTx ¶
type OracleRespondTx struct { // fee // Required: true Fee utils.BigInt `json:"fee"` // nonce Nonce uint64 `json:"nonce,omitempty"` // oracle id // Required: true OracleID *string `json:"oracle_id"` // query id // Required: true QueryID *string `json:"query_id"` // response // Required: true Response *string `json:"response"` // response ttl // Required: true ResponseTTL *RelativeTTL `json:"response_ttl"` // ttl TTL uint64 `json:"ttl,omitempty"` }
OracleRespondTx oracle respond tx swagger:model OracleRespondTx
func (*OracleRespondTx) MarshalBinary ¶
func (m *OracleRespondTx) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OracleRespondTx) UnmarshalBinary ¶
func (m *OracleRespondTx) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OracleRespondTxJSON ¶
type OracleRespondTxJSON struct { OracleRespondTx // contains filtered or unexported fields }
OracleRespondTxJSON oracle respond tx JSON swagger:model OracleRespondTxJSON
func (*OracleRespondTxJSON) MarshalBinary ¶
func (m *OracleRespondTxJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (OracleRespondTxJSON) MarshalJSON ¶
func (m OracleRespondTxJSON) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*OracleRespondTxJSON) SetType ¶
func (m *OracleRespondTxJSON) SetType(val string)
SetType sets the type of this subtype
func (*OracleRespondTxJSON) SetVersion ¶
func (m *OracleRespondTxJSON) SetVersion(val *uint32)
SetVersion sets the version of this subtype
func (*OracleRespondTxJSON) Type ¶
func (m *OracleRespondTxJSON) Type() string
Type gets the type of this subtype
func (*OracleRespondTxJSON) UnmarshalBinary ¶
func (m *OracleRespondTxJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*OracleRespondTxJSON) UnmarshalJSON ¶
func (m *OracleRespondTxJSON) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
func (*OracleRespondTxJSON) Validate ¶
func (m *OracleRespondTxJSON) Validate(formats strfmt.Registry) error
Validate validates this oracle respond tx JSON
func (*OracleRespondTxJSON) Version ¶
func (m *OracleRespondTxJSON) Version() *uint32
Version gets the version of this subtype
type PeerPubKey ¶
type PeerPubKey struct { // pubkey // Required: true Pubkey *string `json:"pubkey"` }
PeerPubKey peer pub key swagger:model PeerPubKey
func (*PeerPubKey) MarshalBinary ¶
func (m *PeerPubKey) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PeerPubKey) UnmarshalBinary ¶
func (m *PeerPubKey) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Peers ¶
type Peers struct { // All blocked peers // Required: true Blocked []Peer `json:"blocked"` // All discovered peers // Required: true Peers []Peer `json:"peers"` }
Peers peers swagger:model Peers
func (*Peers) MarshalBinary ¶
MarshalBinary interface implementation
func (*Peers) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type PoI ¶
type PoI struct { // Proof of inclusion // Required: true Poi *string `json:"poi"` }
PoI po i swagger:model PoI
func (*PoI) MarshalBinary ¶
MarshalBinary interface implementation
func (*PoI) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type PostTxResponse ¶
type PostTxResponse struct { // Hash of a signed transaction // Required: true TxHash *string `json:"tx_hash"` }
PostTxResponse post tx response swagger:model PostTxResponse
func (*PostTxResponse) MarshalBinary ¶
func (m *PostTxResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostTxResponse) UnmarshalBinary ¶
func (m *PostTxResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Protocol ¶
type Protocol struct { // effective at height // Required: true EffectiveAtHeight *uint64 `json:"effective_at_height"` // version // Required: true Version *uint32 `json:"version"` }
Protocol protocol swagger:model Protocol
func (*Protocol) MarshalBinary ¶
MarshalBinary interface implementation
func (*Protocol) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type PubKey ¶
type PubKey struct { // pub key // Required: true PubKey *string `json:"pub_key"` }
PubKey pub key swagger:model PubKey
func (*PubKey) MarshalBinary ¶
MarshalBinary interface implementation
func (*PubKey) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type RegisteredOracle ¶
type RegisteredOracle struct { // abi version // Required: true AbiVersion *uint16 `json:"abi_version"` // id // Required: true ID *string `json:"id"` // query fee // Required: true QueryFee utils.BigInt `json:"query_fee"` // query format // Required: true QueryFormat *string `json:"query_format"` // response format // Required: true ResponseFormat *string `json:"response_format"` // ttl // Required: true TTL *uint64 `json:"ttl"` }
RegisteredOracle registered oracle swagger:model RegisteredOracle
func (*RegisteredOracle) MarshalBinary ¶
func (m *RegisteredOracle) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RegisteredOracle) UnmarshalBinary ¶
func (m *RegisteredOracle) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RelativeTTL ¶
type RelativeTTL struct { // type // Required: true // Enum: [delta] Type *string `json:"type"` // value // Required: true Value *uint64 `json:"value"` }
RelativeTTL relative TTL swagger:model RelativeTTL
func (*RelativeTTL) MarshalBinary ¶
func (m *RelativeTTL) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RelativeTTL) UnmarshalBinary ¶
func (m *RelativeTTL) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SpendTx ¶
type SpendTx struct { // amount // Required: true Amount utils.BigInt `json:"amount"` // fee // Required: true Fee utils.BigInt `json:"fee"` // nonce Nonce uint64 `json:"nonce,omitempty"` // payload // Required: true Payload *string `json:"payload"` // recipient id // Required: true RecipientID *string `json:"recipient_id"` // sender id // Required: true SenderID *string `json:"sender_id"` // ttl TTL uint64 `json:"ttl,omitempty"` }
SpendTx spend tx swagger:model SpendTx
func (*SpendTx) MarshalBinary ¶
MarshalBinary interface implementation
func (*SpendTx) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SpendTxJSON ¶
type SpendTxJSON struct { SpendTx // contains filtered or unexported fields }
SpendTxJSON spend tx JSON swagger:model SpendTxJSON
func (*SpendTxJSON) MarshalBinary ¶
func (m *SpendTxJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (SpendTxJSON) MarshalJSON ¶
func (m SpendTxJSON) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*SpendTxJSON) SetType ¶
func (m *SpendTxJSON) SetType(val string)
SetType sets the type of this subtype
func (*SpendTxJSON) SetVersion ¶
func (m *SpendTxJSON) SetVersion(val *uint32)
SetVersion sets the version of this subtype
func (*SpendTxJSON) UnmarshalBinary ¶
func (m *SpendTxJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*SpendTxJSON) UnmarshalJSON ¶
func (m *SpendTxJSON) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
func (*SpendTxJSON) Validate ¶
func (m *SpendTxJSON) Validate(formats strfmt.Registry) error
Validate validates this spend tx JSON
func (*SpendTxJSON) Version ¶
func (m *SpendTxJSON) Version() *uint32
Version gets the version of this subtype
type Status ¶
type Status struct { // difficulty // Required: true Difficulty *uint64 `json:"difficulty"` // genesis key block hash // Required: true GenesisKeyBlockHash *string `json:"genesis_key_block_hash"` // listening // Required: true Listening *bool `json:"listening"` // network id // Required: true NetworkID *string `json:"network_id"` // node revision // Required: true NodeRevision *string `json:"node_revision"` // node version // Required: true NodeVersion *string `json:"node_version"` // peer count // Required: true PeerCount *uint32 `json:"peer_count"` // peer pubkey // Required: true PeerPubkey *string `json:"peer_pubkey"` // pending transactions count // Required: true PendingTransactionsCount *uint32 `json:"pending_transactions_count"` // protocols // Required: true Protocols []*Protocol `json:"protocols"` // solutions // Required: true Solutions *uint64 `json:"solutions"` // sync progress // Maximum: 100 // Minimum: 0 SyncProgress *float32 `json:"sync_progress,omitempty"` // syncing // Required: true Syncing *bool `json:"syncing"` // top block height // Required: true TopBlockHeight *uint64 `json:"top_block_height"` // top key block hash // Required: true TopKeyBlockHash *string `json:"top_key_block_hash"` }
Status status swagger:model Status
func (*Status) MarshalBinary ¶
MarshalBinary interface implementation
func (*Status) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type TTL ¶
type TTL struct { // type // Required: true // Enum: [delta block] Type *string `json:"type"` // value // Required: true Value *uint64 `json:"value"` }
TTL TTL swagger:model TTL
func (*TTL) MarshalBinary ¶
MarshalBinary interface implementation
func (*TTL) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type TokenSupply ¶
type TokenSupply struct { // Tokens in account balances Accounts utils.BigInt `json:"accounts,omitempty"` // Tokens in contracts registered as oracles ContractOracles utils.BigInt `json:"contract_oracles,omitempty"` // Tokens in contracts Contracts utils.BigInt `json:"contracts,omitempty"` // Tokens locked (not owned by anyone) Locked utils.BigInt `json:"locked,omitempty"` // Tokens in pending oracle queries OracleQueries utils.BigInt `json:"oracle_queries,omitempty"` // Tokens in accounts registered as oracles Oracles utils.BigInt `json:"oracles,omitempty"` // Tokens from fees and coinbase pending in the beneficiary reward delay PendingRewards utils.BigInt `json:"pending_rewards,omitempty"` // Sum of all tokens from other fields Total utils.BigInt `json:"total,omitempty"` }
TokenSupply token supply swagger:model TokenSupply
func (*TokenSupply) MarshalBinary ¶
func (m *TokenSupply) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TokenSupply) UnmarshalBinary ¶
func (m *TokenSupply) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Tx ¶
type Tx struct { // tx // Required: true Tx *string `json:"tx"` }
Tx tx swagger:model Tx
func (*Tx) MarshalBinary ¶
MarshalBinary interface implementation
func (*Tx) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type TxBlockHeight ¶
type TxBlockHeight uint64
TxBlockHeight tx block height swagger:model TxBlockHeight
type TxInfoObject ¶
type TxInfoObject struct { // call info CallInfo *ContractCallObject `json:"call_info,omitempty"` // ga info GaInfo *GAObject `json:"ga_info,omitempty"` // tx info TxInfo string `json:"tx_info,omitempty"` }
TxInfoObject tx info object swagger:model TxInfoObject
func (*TxInfoObject) MarshalBinary ¶
func (m *TxInfoObject) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TxInfoObject) UnmarshalBinary ¶
func (m *TxInfoObject) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UnsignedTx ¶
type UnsignedTx struct { // Unsigned transaction object // Required: true Tx *string `json:"tx"` }
UnsignedTx unsigned tx swagger:model UnsignedTx
func (*UnsignedTx) MarshalBinary ¶
func (m *UnsignedTx) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UnsignedTx) UnmarshalBinary ¶
func (m *UnsignedTx) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files ¶
- account.go
- byte_code.go
- channel.go
- channel_close_mutual_tx.go
- channel_close_mutual_tx_json.go
- channel_close_solo_tx.go
- channel_close_solo_tx_json.go
- channel_create_tx.go
- channel_create_tx_json.go
- channel_deposit_tx.go
- channel_deposit_tx_json.go
- channel_force_progress_tx.go
- channel_force_progress_tx_json.go
- channel_settle_tx.go
- channel_settle_tx_json.go
- channel_sla_s_h_tx.go
- channel_sla_s_h_tx_json.go
- channel_snapshot_solo_tx.go
- channel_snapshot_solo_tx_json.go
- channel_withdraw_tx.go
- channel_withdrawal_tx_json.go
- commitment_id.go
- contract_call_object.go
- contract_call_tx.go
- contract_call_tx_json.go
- contract_create_tx.go
- contract_create_tx_json.go
- contract_object.go
- contract_store.go
- create_contract_unsigned_tx.go
- dry_run_account.go
- dry_run_call_context.go
- dry_run_call_req.go
- dry_run_input.go
- dry_run_input_item.go
- dry_run_result.go
- dry_run_results.go
- encoded_byte_array.go
- encoded_hash.go
- encoded_pubkey.go
- encoded_value.go
- error.go
- event.go
- g_a_attach_tx.go
- g_a_attach_tx_json.go
- g_a_meta_tx.go
- g_a_meta_tx_json.go
- g_a_object.go
- generation.go
- generic_signed_tx.go
- generic_tx.go
- generic_txs.go
- key_block.go
- key_block_or_micro_block_header.go
- micro_block_header.go
- name_claim_tx.go
- name_claim_tx_json.go
- name_entry.go
- name_hash.go
- name_pointer.go
- name_preclaim_tx.go
- name_preclaim_tx_json.go
- name_revoke_tx.go
- name_revoke_tx_json.go
- name_transfer_tx.go
- name_transfer_tx_json.go
- name_update_tx.go
- name_update_tx_json.go
- off_chain_call_contract.go
- off_chain_deposit.go
- off_chain_new_contract.go
- off_chain_transfer.go
- off_chain_update.go
- off_chain_withdrawal.go
- oracle_extend_tx.go
- oracle_extend_tx_json.go
- oracle_queries.go
- oracle_query.go
- oracle_query_tx.go
- oracle_query_tx_json.go
- oracle_register_tx.go
- oracle_register_tx_json.go
- oracle_respond_tx.go
- oracle_respond_tx_json.go
- peer.go
- peer_pub_key.go
- peers.go
- po_i.go
- post_tx_response.go
- pow.go
- protocol.go
- pub_key.go
- registered_oracle.go
- relative_ttl.go
- spend_tx.go
- spend_tx_json.go
- status.go
- token_supply.go
- ttl.go
- tx.go
- tx_block_height.go
- tx_info_object.go
- uint16.go
- uint32.go
- uint64.go
- unsigned_tx.go