Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ENSMetadata ¶
type ENSMetadata struct { Attributes []ENSMetadataAttribute `json:"attributes"` BackgroundImage string `json:"background_image"` Description string `json:"description"` ImageUrl string `json:"image_url"` Name string `json:"name"` NameLength int `json:"name_length"` SegmentLength int `json:"segment_length"` Url string `json:"url"` Version int `json:"version"` }
ENSMetadata defines model for ENSMetadata.
func GetENSMetadataForTokenID ¶
func GetENSMetadataForTokenID(tokenID *big.Int) (*ENSMetadata, error)
type ENSMetadataAttribute ¶
type ERC1155Metadata ¶
type ERC1155Metadata struct { Name string `json:"name"` CreatedBy string `json:"created_by"` ExternalURL string `json:"external_url"` Description string `json:"description"` Attributes []ERC1155MetadataAttribute `json:"attributes"` ImageDetails ERC1155MetadataImageDetails `json:"image_details"` Image string `json:"image"` ImageURL string `json:"image_url"` }
func GetERC1155MetadataForURI ¶
func GetERC1155MetadataForURI(url string, tokenID *big.Int) (*ERC1155Metadata, error)
Click to show internal directories.
Click to hide internal directories.