resources

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NetworkTypeEVM          = NetworkType(types.NetworkType_EVM)
	NetworkTypeSolana       = NetworkType(types.NetworkType_Solana)
	NetworkTypeNearProtocol = NetworkType(types.NetworkType_Near)
	NetworkTypeOther        = NetworkType(types.NetworkType_Other)
)
View Source
const (
	TransferStateInitialized = TransferState(rarimocore.OpStatus_INITIALIZED)
	TransferStateApproved    = TransferState(rarimocore.OpStatus_APPROVED)
	TransferStateNotApproved = TransferState(rarimocore.OpStatus_NOT_APPROVED)
	TransferStateSigned      = TransferState(rarimocore.OpStatus_SIGNED)
)

Variables

This section is empty.

Functions

func SupportedNetworkTypes

func SupportedNetworkTypes() []interface{}

func SupportedNetworkTypesText

func SupportedNetworkTypesText() []string

func SupportedTxTypes

func SupportedTxTypes() []interface{}

func SupportedTxTypesEth

func SupportedTxTypesEth() []interface{}

func SupportedTxTypesNear

func SupportedTxTypesNear() []interface{}

func SupportedTxTypesSolana

func SupportedTxTypesSolana() []interface{}

func SupportedTxTypesText

func SupportedTxTypesText() []string

Types

type Account

type Account struct {
	Key
	Relationships AccountRelationships `json:"relationships"`
}

type AccountListResponse

type AccountListResponse struct {
	Data     []Account       `json:"data"`
	Included Included        `json:"included"`
	Links    *Links          `json:"links"`
	Meta     json.RawMessage `json:"meta,omitempty"`
}

func (*AccountListResponse) GetMeta

func (r *AccountListResponse) GetMeta(out interface{}) error

func (*AccountListResponse) PutMeta

func (r *AccountListResponse) PutMeta(v interface{}) (err error)

type AccountRelationships

type AccountRelationships struct {
	ExternalIds RelationCollection `json:"external_ids"`
}

type AccountResponse

type AccountResponse struct {
	Data     Account  `json:"data"`
	Included Included `json:"included"`
}

type Balance

type Balance struct {
	Key
	Attributes BalanceAttributes `json:"attributes"`
}

type BalanceAttributes

type BalanceAttributes struct {
	// Balance amount in specific chain
	Amount string `json:"amount"`
}

type BalanceListResponse

type BalanceListResponse struct {
	Data     []Balance       `json:"data"`
	Included Included        `json:"included"`
	Links    *Links          `json:"links"`
	Meta     json.RawMessage `json:"meta,omitempty"`
}

func (*BalanceListResponse) GetMeta

func (r *BalanceListResponse) GetMeta(out interface{}) error

func (*BalanceListResponse) PutMeta

func (r *BalanceListResponse) PutMeta(v interface{}) (err error)

type BalanceResponse

type BalanceResponse struct {
	Data     Balance  `json:"data"`
	Included Included `json:"included"`
}

type BuildTx

type BuildTx struct {
	Key
	Attributes    BuildTxAttributes    `json:"attributes"`
	Relationships BuildTxRelationships `json:"relationships"`
}

type BuildTxAttributes

type BuildTxAttributes struct {
	// network to send tx to
	Network string          `json:"network"`
	TxData  json.RawMessage `json:"tx_data"`
	// Type of the transaction
	TxType TxType `json:"tx_type"`
}

type BuildTxListRequest

type BuildTxListRequest struct {
	Data     []BuildTx       `json:"data"`
	Included Included        `json:"included"`
	Links    *Links          `json:"links"`
	Meta     json.RawMessage `json:"meta,omitempty"`
}

func (*BuildTxListRequest) GetMeta

func (r *BuildTxListRequest) GetMeta(out interface{}) error

func (*BuildTxListRequest) PutMeta

func (r *BuildTxListRequest) PutMeta(v interface{}) (err error)

type BuildTxRelationships

type BuildTxRelationships struct {
	Creator        Relation `json:"creator"`
	CreatorAccount Relation `json:"creator_account"`
}

type BuildTxRequest

type BuildTxRequest struct {
	Data     BuildTx  `json:"data"`
	Included Included `json:"included"`
}

type Chain

type Chain struct {
	Key
	Attributes    ChainAttributes    `json:"attributes"`
	Relationships ChainRelationships `json:"relationships"`
}

type ChainAttributes

type ChainAttributes struct {
	// Address of bridge contract in specific chain
	BridgeContract string          `json:"bridge_contract"`
	ChainParams    json.RawMessage `json:"chain_params"`
	// Type of blockchain by supported wallets, APIs, etc.  Enum: - `evm` - `0` - `solana` - `1` - `near` - `2` - `other` - `3`
	ChainType tokenmanager.NetworkType `json:"chain_type"`
	// Link to network icon
	Icon *string `json:"icon,omitempty"`
	Name string  `json:"name"`
}

type ChainListResponse

type ChainListResponse struct {
	Data     []Chain         `json:"data"`
	Included Included        `json:"included"`
	Links    *Links          `json:"links"`
	Meta     json.RawMessage `json:"meta,omitempty"`
}

func (*ChainListResponse) GetMeta

func (r *ChainListResponse) GetMeta(out interface{}) error

func (*ChainListResponse) PutMeta

func (r *ChainListResponse) PutMeta(v interface{}) (err error)

type ChainRelationships

type ChainRelationships struct {
	Items RelationCollection `json:"items"`
}

type ChainResponse

type ChainResponse struct {
	Data     Chain    `json:"data"`
	Included Included `json:"included"`
}

type Details

type Details json.RawMessage

func (Details) MarshalJSON

func (d Details) MarshalJSON() ([]byte, error)

MarshalJSON - casts Details to []byte

func (*Details) Scan

func (r *Details) Scan(src interface{}) error

Scan - implements db driver method for auto unmarshal

func (Details) String

func (d Details) String() string

func (*Details) UnmarshalJSON

func (d *Details) UnmarshalJSON(data []byte) error

UnmarshalJSON - casts data to Details

func (Details) Value

func (r Details) Value() (driver.Value, error)

Value - implements db driver method for auto marshal

type EthTxData

type EthTxData struct {
	// The amount of the token to send (string containing a decimal number with precision specified by the contract)
	Amount *string `json:"amount,omitempty"`
	// bundle data as for calling Deposit* methods [(more info)](https://rarimo.gitlab.io/docs/docs/overview/bundling)
	BundleData string `json:"bundle_data"`
	// bundle salt as for calling Deposit* methods [(more info)](https://rarimo.gitlab.io/docs/docs/overview/bundling)
	BundleSalt string `json:"bundle_salt"`
	// indicates that the deposited token is wrapped
	IsWrapped *bool `json:"is_wrapped,omitempty"`
	// The address of the receiver
	Receiver string `json:"receiver"`
	// Network which the transfer is to be consumed on
	TargetNetwork string `json:"target_network"`
	// [ OPTIONAL ] contract address that identifies the token to be deposited. If not provided then the native token is used.
	TokenAddr *common.Address `json:"token_addr,omitempty"`
	// [ OPTIONAL ] hex-encoded token identifier. Should be provided if contract is provided and is of type ERC721 or ERC1155.
	TokenId *string `json:"token_id,omitempty"`
}

transaction parameters for ethereum deposit tx

type Flag

type Flag struct {
	Name  string `json:"name"`
	Value int32  `json:"value"`
}

type Flagger

type Flagger interface {
	IsFlag() bool
}

type Flags

type Flags struct {
	Mask   int32  `json:"mask"`
	Values []Flag `json:"flags"`
}

func FlagsFromMask

func FlagsFromMask(mask int32, allFlags map[int32]string) Flags

type Included

type Included struct {
	// contains filtered or unexported fields
}

Included - an array of Resource objects that are related to the primary data and/or each other (“included resources”).

func (*Included) Add

func (c *Included) Add(includes ...Resource)

Add - adds new include into collection. If one already present - skips it

func (Included) MarshalJSON

func (c Included) MarshalJSON() ([]byte, error)

MarshalJSON - marshals include collection as array of json objects

func (*Included) MustAccount

func (c *Included) MustAccount(key Key) *Account

MustAccount - returns Account from include collection. if entry with specified key does not exist - returns nil if entry with specified key exists but type or ID mismatches - panics

func (*Included) MustBalance

func (c *Included) MustBalance(key Key) *Balance

MustBalance - returns Balance from include collection. if entry with specified key does not exist - returns nil if entry with specified key exists but type or ID mismatches - panics

func (*Included) MustBuildTx

func (c *Included) MustBuildTx(key Key) *BuildTx

MustBuildTx - returns BuildTx from include collection. if entry with specified key does not exist - returns nil if entry with specified key exists but type or ID mismatches - panics

func (*Included) MustChain

func (c *Included) MustChain(key Key) *Chain

MustChain - returns Chain from include collection. if entry with specified key does not exist - returns nil if entry with specified key exists but type or ID mismatches - panics

func (*Included) MustItem

func (c *Included) MustItem(key Key) *Item

MustItem - returns Item from include collection. if entry with specified key does not exist - returns nil if entry with specified key exists but type or ID mismatches - panics

func (*Included) MustItemChainMapping

func (c *Included) MustItemChainMapping(key Key) *ItemChainMapping

MustItemChainMapping - returns ItemChainMapping from include collection. if entry with specified key does not exist - returns nil if entry with specified key exists but type or ID mismatches - panics

func (*Included) MustNft

func (c *Included) MustNft(key Key) *Nft

MustNft - returns Nft from include collection. if entry with specified key does not exist - returns nil if entry with specified key exists but type or ID mismatches - panics

func (*Included) MustNftMetadata

func (c *Included) MustNftMetadata(key Key) *NftMetadata

MustNftMetadata - returns NftMetadata from include collection. if entry with specified key does not exist - returns nil if entry with specified key exists but type or ID mismatches - panics

func (*Included) MustToken

func (c *Included) MustToken(key Key) *Token

MustToken - returns Token from include collection. if entry with specified key does not exist - returns nil if entry with specified key exists but type or ID mismatches - panics

func (*Included) MustTransfer

func (c *Included) MustTransfer(key Key) *Transfer

MustTransfer - returns Transfer from include collection. if entry with specified key does not exist - returns nil if entry with specified key exists but type or ID mismatches - panics

func (*Included) MustUnsubmittedTx

func (c *Included) MustUnsubmittedTx(key Key) *UnsubmittedTx

MustUnsubmittedTx - returns UnsubmittedTx from include collection. if entry with specified key does not exist - returns nil if entry with specified key exists but type or ID mismatches - panics

func (*Included) UnmarshalJSON

func (c *Included) UnmarshalJSON(data []byte) error

UmarshalJSON - unmarshal array of json objects into include collection

type Item

type Item struct {
	Key
	Attributes    ItemAttributes    `json:"attributes"`
	Relationships ItemRelationships `json:"relationships"`
}

type ItemAttributes

type ItemAttributes struct {
	// unique index of the item saved on core
	Index string `json:"index"`
	// free form JSON object representing item's metadata saved on core
	Metadata json.RawMessage `json:"metadata"`
}

type ItemChainMapping

type ItemChainMapping struct {
	Key
	Attributes    ItemChainMappingAttributes    `json:"attributes"`
	Relationships ItemChainMappingRelationships `json:"relationships"`
}

type ItemChainMappingAttributes

type ItemChainMappingAttributes struct {
	// address of the contract on the target chain items belongs to
	Address string `json:"address"`
	// id of the token for the item on the target chain
	TokenId *string `json:"token_id,omitempty"`
}

type ItemChainMappingListResponse

type ItemChainMappingListResponse struct {
	Data     []ItemChainMapping `json:"data"`
	Included Included           `json:"included"`
	Links    *Links             `json:"links"`
	Meta     json.RawMessage    `json:"meta,omitempty"`
}

func (*ItemChainMappingListResponse) GetMeta

func (r *ItemChainMappingListResponse) GetMeta(out interface{}) error

func (*ItemChainMappingListResponse) PutMeta

func (r *ItemChainMappingListResponse) PutMeta(v interface{}) (err error)

type ItemChainMappingRelationships

type ItemChainMappingRelationships struct {
	Chain Relation `json:"chain"`
	Item  Relation `json:"item"`
}

type ItemChainMappingResponse

type ItemChainMappingResponse struct {
	Data     ItemChainMapping `json:"data"`
	Included Included         `json:"included"`
}

type ItemListResponse

type ItemListResponse struct {
	Data     []Item          `json:"data"`
	Included Included        `json:"included"`
	Links    *Links          `json:"links"`
	Meta     json.RawMessage `json:"meta,omitempty"`
}

func (*ItemListResponse) GetMeta

func (r *ItemListResponse) GetMeta(out interface{}) error

func (*ItemListResponse) PutMeta

func (r *ItemListResponse) PutMeta(v interface{}) (err error)

type ItemRelationships

type ItemRelationships struct {
	ChainMappings *map[string]interface{} `json:"chain_mappings,omitempty"`
	Collection    Relation                `json:"collection"`
}

type ItemResponse

type ItemResponse struct {
	Data     Item     `json:"data"`
	Included Included `json:"included"`
}

type Key

type Key struct {
	ID   string       `json:"id"`
	Type ResourceType `json:"type"`
}

func NewKeyInt64

func NewKeyInt64(id int64, resourceType ResourceType) Key

func NewStringKey

func NewStringKey(id string, resourceType ResourceType) Key

func (Key) AsRelation

func (r Key) AsRelation() *Relation

func (*Key) GetKey

func (r *Key) GetKey() Key

func (Key) GetKeyP

func (r Key) GetKeyP() *Key
type Links struct {
	First string `json:"first,omitempty"`
	Last  string `json:"last,omitempty"`
	Next  string `json:"next,omitempty"`
	Prev  string `json:"prev,omitempty"`
	Self  string `json:"self,omitempty"`
}

type NearTxData

type NearTxData struct {
	// The amount to be transferred (string containing a decimal number with precision specified by the contract)
	Amount *string `json:"amount,omitempty"`
	// indicates that the deposited token is wrapped
	IsWrapped *bool `json:"is_wrapped,omitempty"`
	// The address of the receiver
	Receiver string `json:"receiver"`
	// The base64-encoded public key of the sender: base64(publicKeyBase58)
	SenderPublicKey string `json:"sender_public_key"`
	// Network which the transfer is to be consumed on
	TargetNetwork string `json:"target_network"`
	// [ OPTIONAL ] should be provided in case of FT and NFT deposit.
	TokenAddr *string `json:"token_addr,omitempty"`
	// [ OPTIONAL ] token identifier. Shpuld be provided in case of NFT deposit.
	TokenId *string `json:"token_id,omitempty"`
}

transaction parameters for ethereum deposit tx

type NetworkType

type NetworkType types.NetworkType

func (NetworkType) Int

func (t NetworkType) Int() int

func (NetworkType) MarshalJSON

func (t NetworkType) MarshalJSON() ([]byte, error)

func (NetworkType) String

func (t NetworkType) String() string

func (*NetworkType) UnmarshalJSON

func (t *NetworkType) UnmarshalJSON(b []byte) error

func (*NetworkType) UnmarshalText

func (t *NetworkType) UnmarshalText(b []byte) error

type Nft

type Nft struct {
	Key
	Attributes NftAttributes `json:"attributes"`
}

type NftAttributes

type NftAttributes struct {
	Attributes     []NftMetadataAttribute `json:"attributes"`
	CollectionName string                 `json:"collection_name"`
	Description    *string                `json:"description,omitempty"`
	// Link to image
	ImageUrl string `json:"image_url"`
	Name     string `json:"name"`
}

type NftListResponse

type NftListResponse struct {
	Data     []Nft           `json:"data"`
	Included Included        `json:"included"`
	Links    *Links          `json:"links"`
	Meta     json.RawMessage `json:"meta,omitempty"`
}

func (*NftListResponse) GetMeta

func (r *NftListResponse) GetMeta(out interface{}) error

func (*NftListResponse) PutMeta

func (r *NftListResponse) PutMeta(v interface{}) (err error)

type NftMetadata

type NftMetadata struct {
	Key
	Attributes NftMetadataAttributes `json:"attributes"`
}

type NftMetadataAttribute

type NftMetadataAttribute struct {
	TraitType string `json:"trait_type"`
	Value     string `json:"value"`
}

type NftMetadataAttributes

type NftMetadataAttributes struct {
	AnimationUrl *string                `json:"animation_url,omitempty"`
	Attributes   []NftMetadataAttribute `json:"attributes"`
	Description  *string                `json:"description,omitempty"`
	ExternalUrl  *string                `json:"external_url,omitempty"`
	// Link to image
	ImageUrl string `json:"image_url"`
	// original url to metadata stored in the contract
	MetadataUrl string `json:"metadata_url"`
	Name        string `json:"name"`
}

type NftMetadataListResponse

type NftMetadataListResponse struct {
	Data     []NftMetadata   `json:"data"`
	Included Included        `json:"included"`
	Links    *Links          `json:"links"`
	Meta     json.RawMessage `json:"meta,omitempty"`
}

func (*NftMetadataListResponse) GetMeta

func (r *NftMetadataListResponse) GetMeta(out interface{}) error

func (*NftMetadataListResponse) PutMeta

func (r *NftMetadataListResponse) PutMeta(v interface{}) (err error)

type NftMetadataResponse

type NftMetadataResponse struct {
	Data     NftMetadata `json:"data"`
	Included Included    `json:"included"`
}

type NftResponse

type NftResponse struct {
	Data     Nft      `json:"data"`
	Included Included `json:"included"`
}

type Relation

type Relation struct {
	Data  *Key   `json:"data,omitempty"`
	Links *Links `json:"links,omitempty"`
}

type RelationCollection

type RelationCollection struct {
	Data  []Key  `json:"data"`
	Links *Links `json:"links,omitempty"`
}

func (RelationCollection) MarshalJSON

func (r RelationCollection) MarshalJSON() ([]byte, error)

type Resource

type Resource interface {
	//GetKey - returns key of the Resource
	GetKey() Key
}

type ResourceType

type ResourceType string
const (
	ACCOUNT_EXTERNAL_IDS     ResourceType = "account-external-ids"
	ACCOUNTS                 ResourceType = "accounts"
	BALANCES                 ResourceType = "balances"
	BUILD_TX_REQUESTS        ResourceType = "build-tx-requests"
	CHAINS                   ResourceType = "chains"
	COLLECTIONS              ResourceType = "collections"
	ITEM_CHAIN_MAPPINGS      ResourceType = "item_chain_mappings"
	ITEMS                    ResourceType = "items"
	NFTS                     ResourceType = "nfts"
	NFTS_METADATA            ResourceType = "nfts-metadata"
	TOKENS                   ResourceType = "tokens"
	TRANSACTIONS             ResourceType = "transactions"
	TRANSFERS                ResourceType = "transfers"
	UNSUBMITTED_TRANSACTIONS ResourceType = "unsubmitted-transactions"
)

List of ResourceType

type SolanaTxData

type SolanaTxData struct {
	// The amount of the token to send (string containing a decimal number with precision specified by the contract)
	Amount *string `json:"amount,omitempty"`
	// bundle data as for calling Deposit* methods [(more info)](https://rarimo.gitlab.io/docs/docs/overview/bundling)
	BundleData string `json:"bundle_data"`
	// bundle seed as for calling Deposit* methods [(more info)](https://rarimo.gitlab.io/docs/docs/overview/bundling)
	BundleSeed string `json:"bundle_seed"`
	// The address of the receiver
	Receiver string `json:"receiver"`
	// Network which the transfer is to be consumed on
	TargetNetwork string `json:"target_network"`
	// [ OPTIONAL ] address that identifies the token to be deposited. If not provided then the native token is used.
	TokenAddr *string `json:"token_addr,omitempty"`
}

transaction parameters for solana deposit tx

type Token

type Token struct {
	Key
	Attributes    TokenAttributes    `json:"attributes"`
	Relationships TokenRelationships `json:"relationships"`
}

type TokenAttributes

type TokenAttributes struct {
	// Link to icon
	Icon   *string `json:"icon,omitempty"`
	Name   string  `json:"name"`
	Symbol string  `json:"symbol"`
}

type TokenListResponse

type TokenListResponse struct {
	Data     []Token         `json:"data"`
	Included Included        `json:"included"`
	Links    *Links          `json:"links"`
	Meta     json.RawMessage `json:"meta,omitempty"`
}

func (*TokenListResponse) GetMeta

func (r *TokenListResponse) GetMeta(out interface{}) error

func (*TokenListResponse) PutMeta

func (r *TokenListResponse) PutMeta(v interface{}) (err error)

type TokenRelationships

type TokenRelationships struct {
	Chains RelationCollection `json:"chains"`
}

type TokenResponse

type TokenResponse struct {
	Data     Token    `json:"data"`
	Included Included `json:"included"`
}

type Transfer

type Transfer struct {
	Key
	Attributes    TransferAttributes    `json:"attributes"`
	Relationships TransferRelationships `json:"relationships"`
}

type TransferAttributes

type TransferAttributes struct {
	// Amount of tokens to be transferred
	Amount *string `json:"amount,omitempty"`
	// Additional data for the transfer [(more info)](https://rarimo.gitlab.io/docs/docs/overview/bundling)
	BundleData *string `json:"bundle_data,omitempty"`
	// Salt for the transfer's bundle [(more info)](https://rarimo.gitlab.io/docs/docs/overview/bundling)
	BundleSalt *string `json:"bundle_salt,omitempty"`
	// Time (UTC) of the transfer creation, RFC3339 format
	CreatedAt time.Time `json:"created_at"`
	// Number of the event in source chain's transaction
	EventId *string `json:"event_id,omitempty"`
	// Name of the source chain
	FromChain *string `json:"from_chain,omitempty"`
	// Identifier of the transfer origin
	Origin *string `json:"origin,omitempty"`
	// Shows state of the transfer
	Status TransferState `json:"status"`
	// Name of the destination chain
	ToChain *string `json:"to_chain,omitempty"`
}

type TransferListResponse

type TransferListResponse struct {
	Data     []Transfer      `json:"data"`
	Included Included        `json:"included"`
	Links    *Links          `json:"links"`
	Meta     json.RawMessage `json:"meta,omitempty"`
}

func (*TransferListResponse) GetMeta

func (r *TransferListResponse) GetMeta(out interface{}) error

func (*TransferListResponse) PutMeta

func (r *TransferListResponse) PutMeta(v interface{}) (err error)

type TransferRelationships

type TransferRelationships struct {
	Creator  Relation  `json:"creator"`
	Receiver *Relation `json:"receiver,omitempty"`
	Token    *Relation `json:"token,omitempty"`
	Tx       *Relation `json:"tx,omitempty"`
}

type TransferResponse

type TransferResponse struct {
	Data     Transfer `json:"data"`
	Included Included `json:"included"`
}

type TransferState

type TransferState rarimocore.OpStatus

func TransferStateFromInt

func TransferStateFromInt(raw int) (TransferState, bool)

func (TransferState) Int

func (t TransferState) Int() int

func (TransferState) Intp

func (t TransferState) Intp() *int

func (TransferState) MarshalJSON

func (t TransferState) MarshalJSON() ([]byte, error)

func (TransferState) String

func (t TransferState) String() string

func (*TransferState) UnmarshalJSON

func (t *TransferState) UnmarshalJSON(b []byte) error

func (*TransferState) UnmarshalText

func (t *TransferState) UnmarshalText(b []byte) error

type TxType

type TxType int
const (
	TxTypeDepositNative TxType = iota
	TxTypeDepositErc20
	TxTypeDepositErc721
	TxTypeDepositErc1155
	TxTypeDepositFT
	TxTypeDepositNFT
)

func (TxType) Int

func (t TxType) Int() int

func (TxType) MarshalJSON

func (t TxType) MarshalJSON() ([]byte, error)

func (TxType) String

func (t TxType) String() string

func (*TxType) UnmarshalJSON

func (t *TxType) UnmarshalJSON(b []byte) error

func (*TxType) UnmarshalText

func (t *TxType) UnmarshalText(b []byte) error

type UnsubmittedTx

type UnsubmittedTx struct {
	Key
	Attributes UnsubmittedTxAttributes `json:"attributes"`
}

type UnsubmittedTxAttributes

type UnsubmittedTxAttributes struct {
	// contract to send tx to
	ContractAddr string `json:"contract_addr"`
	// hex-encoded transaction envelope
	Envelope string `json:"envelope"`
	// time when the transaction was generated
	GeneratedAt string `json:"generated_at"`
}

type UnsubmittedTxListResponse

type UnsubmittedTxListResponse struct {
	Data     []UnsubmittedTx `json:"data"`
	Included Included        `json:"included"`
	Links    *Links          `json:"links"`
	Meta     json.RawMessage `json:"meta,omitempty"`
}

func (*UnsubmittedTxListResponse) GetMeta

func (r *UnsubmittedTxListResponse) GetMeta(out interface{}) error

func (*UnsubmittedTxListResponse) PutMeta

func (r *UnsubmittedTxListResponse) PutMeta(v interface{}) (err error)

type UnsubmittedTxResponse

type UnsubmittedTxResponse struct {
	Data     UnsubmittedTx `json:"data"`
	Included Included      `json:"included"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL