Versions in this module Expand all Collapse all v0 v0.2.1 Nov 2, 2021 Changes in this version type APIDataResponse + TxId *types.Bytes v0.2.0 Oct 31, 2021 Changes in this version + const DefaultPaginationSize + const MaxTokenTxOutputs + type APIDataResponse struct + Data *json.RawMessage + KeyPage *APIRequestKeyPage + MDRoot types.Bytes + Sig *types.Bytes64 + Signer *Signer + Sponsor types.String + Status *json.RawMessage + Type types.String + type APIDataResponsePagination struct + Data []*APIDataResponse + Limit int64 + Start int64 + Total int64 + Type types.String + type APIRequestKeyPage struct + Height uint64 + Index uint64 + type APIRequestRaw struct + Tx *APIRequestRawTx + Wait bool + type APIRequestRawTx struct + Data *json.RawMessage + KeyPage *APIRequestKeyPage + Sig types.Bytes64 + Signer *Signer + Sponsor types.String + type APIRequestURL struct + URL types.String + Wait bool + type APIRequestURLPagination struct + Limit int64 + Start int64 + func (p *APIRequestURLPagination) UnmarshalJSON(data []byte) error + type MultiSigTx struct + TxHash types.Bytes32 + func (m *MultiSigTx) MarshalBinary() ([]byte, error) + func (m *MultiSigTx) UnmarshalBinary(data []byte) (err error) + type Signer struct + Nonce uint64 + PublicKey types.Bytes32 + type Token struct + Precision types.Byte + PropertiesUrl types.String + Symbol types.String + URL types.String + func NewToken(url string, symbol string, precision byte, propertiesUrl string) *Token + func (t *Token) MarshalBinary() ([]byte, error) + func (t *Token) UnmarshalBinary(data []byte) (err error) + type TokenCirculationMode int + type TokenTx struct + From types.UrlChain + Hash types.Bytes32 + Meta json.RawMessage + To []*TokenTxOutput + func NewTokenTx(from types.String, to ...*TokenTxOutput) *TokenTx + func (t *TokenTx) AddToAccount(toUrl types.String, amt uint64) + func (t *TokenTx) Equal(t2 *TokenTx) (ret bool) + func (t *TokenTx) MarshalBinary() ([]byte, error) + func (t *TokenTx) SetMetadata(md *json.RawMessage) error + func (t *TokenTx) UnmarshalBinary(data []byte) (err error) + type TokenTxOutput struct + Amount uint64 + URL types.UrlChain + func NewTokenTxOutput(url types.String, amount uint64) *TokenTxOutput + func (t *TokenTxOutput) Equal(t2 *TokenTxOutput) bool + func (t *TokenTxOutput) MarshalBinary() ([]byte, error) + func (t *TokenTxOutput) Size() int + func (t *TokenTxOutput) UnmarshalBinary(data []byte) (err error) + type TokenTxRequest struct + Hash types.Bytes32