Documentation ¶
Index ¶
- Constants
- type Attribute
- type AttributeValue
- type BatchTokenIDs
- type Client
- func (o *Client) FetchAllAssetsByOwner(ctx context.Context, chainID walletCommon.ChainID, owner common.Address, ...) (*thirdparty.FullCollectibleDataContainer, error)
- func (o *Client) FetchAllAssetsByOwnerAndContractAddress(ctx context.Context, chainID walletCommon.ChainID, owner common.Address, ...) (*thirdparty.FullCollectibleDataContainer, error)
- func (o *Client) FetchAssetsByCollectibleUniqueID(ctx context.Context, uniqueIDs []thirdparty.CollectibleUniqueID) ([]thirdparty.FullCollectibleData, error)
- func (o *Client) FetchCollectibleOwnersByContractAddress(ctx context.Context, chainID walletCommon.ChainID, ...) (*thirdparty.CollectibleContractOwnership, error)
- func (o *Client) FetchCollectionsDataByContractID(ctx context.Context, contractIDs []thirdparty.ContractID) ([]thirdparty.CollectionData, error)
- func (o *Client) ID() string
- func (o *Client) IsChainSupported(chainID walletCommon.ChainID) bool
- func (o *Client) IsConnected() bool
- type Collectible
- type CollectibleMetadata
- type CollectiblesContainer
- type Collection
- type CollectionMetadata
- type Content
- type ContractOwnership
- type ContractOwnershipContainer
Constants ¶
View Source
const RaribleID = "rarible"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attribute ¶
type Attribute struct { Key string `json:"key"` Value AttributeValue `json:"value"` }
type AttributeValue ¶
type AttributeValue string
func (*AttributeValue) UnmarshalJSON ¶
func (st *AttributeValue) UnmarshalJSON(b []byte) error
type BatchTokenIDs ¶
type BatchTokenIDs struct {
IDs []string `json:"ids"`
}
type Client ¶
type Client struct { thirdparty.CollectibleContractOwnershipProvider // contains filtered or unexported fields }
func (*Client) FetchAllAssetsByOwner ¶
func (o *Client) FetchAllAssetsByOwner(ctx context.Context, chainID walletCommon.ChainID, owner common.Address, cursor string, limit int) (*thirdparty.FullCollectibleDataContainer, error)
func (*Client) FetchAllAssetsByOwnerAndContractAddress ¶
func (o *Client) FetchAllAssetsByOwnerAndContractAddress(ctx context.Context, chainID walletCommon.ChainID, owner common.Address, contractAddresses []common.Address, cursor string, limit int) (*thirdparty.FullCollectibleDataContainer, error)
func (*Client) FetchAssetsByCollectibleUniqueID ¶
func (o *Client) FetchAssetsByCollectibleUniqueID(ctx context.Context, uniqueIDs []thirdparty.CollectibleUniqueID) ([]thirdparty.FullCollectibleData, error)
func (*Client) FetchCollectibleOwnersByContractAddress ¶
func (o *Client) FetchCollectibleOwnersByContractAddress(ctx context.Context, chainID walletCommon.ChainID, contractAddress common.Address) (*thirdparty.CollectibleContractOwnership, error)
func (*Client) FetchCollectionsDataByContractID ¶
func (o *Client) FetchCollectionsDataByContractID(ctx context.Context, contractIDs []thirdparty.ContractID) ([]thirdparty.CollectionData, error)
func (*Client) IsChainSupported ¶
func (o *Client) IsChainSupported(chainID walletCommon.ChainID) bool
func (*Client) IsConnected ¶
type Collectible ¶
type CollectibleMetadata ¶
type CollectiblesContainer ¶
type CollectiblesContainer struct { Continuation string `json:"continuation"` Collectibles []Collectible `json:"items"` }
type Collection ¶
type Collection struct { ID string `json:"id"` Blockchain string `json:"blockchain"` ContractType string `json:"type"` Name string `json:"name"` Metadata CollectionMetadata `json:"meta"` }
type CollectionMetadata ¶
type ContractOwnership ¶
type ContractOwnershipContainer ¶
type ContractOwnershipContainer struct { Continuation string `json:"continuation"` Ownerships []ContractOwnership `json:"ownerships"` }
Click to show internal directories.
Click to hide internal directories.