Documentation ¶
Overview ¶
nolint: misspell
Index ¶
- Constants
- type Asset
- type Attribute
- type AttributeValue
- type BatchContractAddresses
- 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) FetchCollectionSocials(ctx context.Context, contractID thirdparty.ContractID) (*thirdparty.CollectionSocials, 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 CollectibleContractOwnership
- type CollectibleOwner
- type Contract
- type ContractList
- type Image
- type NFTList
- type OpenSeaMetadata
- type OwnedNFTList
- type Raw
- type RawFull
- 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, uniqueIDs []thirdparty.CollectibleUniqueID) ([]thirdparty.FullCollectibleData, error)
func (*Client) FetchCollectibleOwnersByContractAddress ¶ added in v0.162.13
func (o *Client) FetchCollectibleOwnersByContractAddress(ctx context.Context, chainID walletCommon.ChainID, contractAddress common.Address) (*thirdparty.CollectibleContractOwnership, error)
func (*Client) FetchCollectionSocials ¶ added in v0.179.17
func (o *Client) FetchCollectionSocials(ctx context.Context, contractID thirdparty.ContractID) (*thirdparty.CollectionSocials, error)
func (*Client) FetchCollectionsDataByContractID ¶ added in v0.162.15
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 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 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 RawFull ¶ added in v0.171.21
type RawFull struct {
RawMetadata RawMetadata `json:"metadata"`
}
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.