Documentation ¶
Index ¶
- Constants
- type Asset
- type AssetMetadata
- type Attribute
- type AttributeValue
- type Client
- func (o *Client) FetchAllAssetsByOwner(chainID walletCommon.ChainID, owner common.Address, cursor string, limit int) (*thirdparty.FullCollectibleDataContainer, error)
- func (o *Client) FetchAllAssetsByOwnerAndContractAddress(chainID walletCommon.ChainID, owner common.Address, ...) (*thirdparty.FullCollectibleDataContainer, error)
- func (o *Client) FetchAssetsByCollectibleUniqueID(uniqueIDs []thirdparty.CollectibleUniqueID) ([]thirdparty.FullCollectibleData, error)
- func (o *Client) FetchCollectibleOwnersByContractAddress(chainID walletCommon.ChainID, contractAddress common.Address) (*thirdparty.CollectibleContractOwnership, error)
- func (o *Client) FetchCollectionsDataByContractID(contractIDs []thirdparty.ContractID) ([]thirdparty.CollectionData, error)
- func (o *Client) ID() string
- func (o *Client) IsChainSupported(chainID walletCommon.ChainID) bool
- type CollectibleContractOwnership
- type CollectibleOwner
- type ContractMetadata
- type NFTList
Constants ¶
View Source
const InfuraID = "infura"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Asset ¶ added in v0.162.15
type Asset struct { ContractAddress common.Address `json:"contract"` TokenID *bigint.BigInt `json:"tokenId"` Metadata AssetMetadata `json:"metadata"` }
type AssetMetadata ¶ added in v0.162.15
type Attribute ¶ added in v0.162.15
type Attribute struct { TraitType string `json:"trait_type"` Value AttributeValue `json:"value"` }
type AttributeValue ¶ added in v0.162.15
type AttributeValue string
func (*AttributeValue) UnmarshalJSON ¶ added in v0.162.15
func (st *AttributeValue) UnmarshalJSON(b []byte) error
type Client ¶
type Client struct { thirdparty.CollectibleContractOwnershipProvider IsConnected bool IsConnectedLock sync.RWMutex // contains filtered or unexported fields }
func (*Client) FetchAllAssetsByOwner ¶ added in v0.162.15
func (o *Client) FetchAllAssetsByOwner(chainID walletCommon.ChainID, owner common.Address, cursor string, limit int) (*thirdparty.FullCollectibleDataContainer, error)
func (*Client) FetchAllAssetsByOwnerAndContractAddress ¶ added in v0.162.15
func (o *Client) FetchAllAssetsByOwnerAndContractAddress(chainID walletCommon.ChainID, owner common.Address, contractAddresses []common.Address, cursor string, limit int) (*thirdparty.FullCollectibleDataContainer, error)
func (*Client) FetchAssetsByCollectibleUniqueID ¶ added in v0.162.15
func (o *Client) FetchAssetsByCollectibleUniqueID(uniqueIDs []thirdparty.CollectibleUniqueID) ([]thirdparty.FullCollectibleData, error)
func (*Client) FetchCollectibleOwnersByContractAddress ¶ added in v0.162.13
func (o *Client) FetchCollectibleOwnersByContractAddress(chainID walletCommon.ChainID, contractAddress common.Address) (*thirdparty.CollectibleContractOwnership, error)
func (*Client) FetchCollectionsDataByContractID ¶ added in v0.162.15
func (o *Client) FetchCollectionsDataByContractID(contractIDs []thirdparty.ContractID) ([]thirdparty.CollectionData, error)
func (*Client) IsChainSupported ¶
func (o *Client) IsChainSupported(chainID walletCommon.ChainID) bool
type CollectibleContractOwnership ¶ added in v0.162.13
type CollectibleContractOwnership struct { Owners []CollectibleOwner `json:"owners"` Network string `json:"network"` Cursor string `json:"cursor"` }
type CollectibleOwner ¶ added in v0.162.13
type ContractMetadata ¶ added in v0.162.15
Click to show internal directories.
Click to hide internal directories.