Documentation ¶
Index ¶
- Constants
- type Asset
- type Attribute
- type AttributeValue
- type BatchContractAddresses
- type BatchTokenIDs
- 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
- func (o *Client) IsConnected() bool
- type CollectibleContractOwnership
- type CollectibleOwner
- type Contract
- type ContractList
- type Image
- type NFTList
- type OpenSeaMetadata
- type OwnedNFTList
- type Raw
- type RawMetadata
- type TokenBalance
- type TokenID
Constants ¶
View Source
const AlchemyID = "alchemy"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 BatchContractAddresses ¶ added in v0.162.15
type BatchTokenIDs ¶ added in v0.162.15
type BatchTokenIDs struct {
IDs []TokenID `json:"tokens"`
}
type Client ¶
type Client struct { thirdparty.CollectibleContractOwnershipProvider // 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
func (*Client) IsConnected ¶
type CollectibleContractOwnership ¶ added in v0.162.13
type CollectibleContractOwnership struct { Owners []CollectibleOwner `json:"owners"` PageKey string `json:"pageKey"` }
type CollectibleOwner ¶ added in v0.162.13
type CollectibleOwner struct { OwnerAddress common.Address `json:"ownerAddress"` TokenBalances []TokenBalance `json:"tokenBalances"` }
type ContractList ¶ added in v0.162.15
type ContractList struct {
Contracts []Contract `json:"contracts"`
}
type OpenSeaMetadata ¶ added in v0.162.15
type OpenSeaMetadata struct {
ImageURL string `json:"imageUrl"`
}
type OwnedNFTList ¶ added in v0.162.15
type Raw ¶ added in v0.162.15
type Raw struct {
RawMetadata interface{} `json:"metadata"`
}
func (*Raw) UnmarshalJSON ¶ added in v0.168.1
type RawMetadata ¶ added in v0.162.15
type RawMetadata struct {
Attributes []Attribute `json:"attributes"`
}
type TokenBalance ¶
Click to show internal directories.
Click to hide internal directories.