Documentation ¶
Index ¶
- Constants
- type AccountCollectionDataProps
- type AccountCollectionDataSchemasProps
- type AccountCollectionDataTemplatesProps
- type AccountCollectionProps
- type AccountDataCollectionsProps
- type AccountDataProps
- type AccountDataTemplatesProps
- type AccountProps
- type AccountsDataProps
- type AccountsProps
- type AssetsDataProps
- type AssetsIDLogsProps
- type AssetsIDProps
- type AssetsIDStatsProps
- type AssetsProps
- type AssetsStatsDataProps
- type AtomicAssets
- func (a *AtomicAssets) GetAccount(account string, options *GetAccountQuery) (*AccountProps, error)
- func (a *AtomicAssets) GetAccountCollection(account, collection string) (*AccountCollectionProps, error)
- func (a *AtomicAssets) GetAccounts(options *GetAccountsQuery) (*AccountsProps, error)
- func (a *AtomicAssets) GetAssetID(id string) (*AssetsIDProps, error)
- func (a *AtomicAssets) GetAssetIDLogs(id string, options *GetAssetLogsQuery) (*AssetsIDLogsProps, error)
- func (a *AtomicAssets) GetAssetIDStats(id string) (*AssetsIDStatsProps, error)
- func (a *AtomicAssets) GetAssets(options *GetAssetsQuery) (*AssetsProps, error)
- func (a *AtomicAssets) GetBurns(options *GetBurnsQuery) (*BurnsProps, error)
- func (a *AtomicAssets) GetBurnsAccount(account string, options *GetBurnsQuery) (*BurnsAccountProps, error)
- func (a *AtomicAssets) GetCollectionName(name string) (*CollectionNameProps, error)
- func (a *AtomicAssets) GetCollectionNameLogs(name string, options *GetCollectionNameLogs) (*CollectionNameLogsProps, error)
- func (a *AtomicAssets) GetCollectionNameStats(name string) (*CollectionNameStatsProps, error)
- func (a *AtomicAssets) GetCollections(options *GetCollectionsQuery) (*CollectionsProps, error)
- func (a *AtomicAssets) GetOfferID(offerID int) (*OffersData, error)
- func (a *AtomicAssets) GetOfferIDLogs(offerID int, options *GetOfferIDLogsQuery) (*OfferIDLogsProps, error)
- func (a *AtomicAssets) GetOffers(options *GetOffersQuery) (*OffersProps, error)
- func (a *AtomicAssets) GetSchemaName(collectionName, schemaName string) (*SchemaNameProps, error)
- func (a *AtomicAssets) GetSchemaNameLogs(collectionName, schemaName string, options *GetSchemaNameLogs) (*SchemaNameLogsProps, error)
- func (a *AtomicAssets) GetSchemaNameStats(collectionName, schemaName string) (*SchemaNameStatsProps, error)
- func (a *AtomicAssets) GetSchemas(options *GetSchemasQuery) (*SchemaProps, error)
- func (a *AtomicAssets) GetTemplateID(collectionName string, templateID int) (*TemplateIDProps, error)
- func (a *AtomicAssets) GetTemplateIDLogs(collectionName string, templateID int, options *GetTemplateIDLogs) (*TemplateIDLogsProps, error)
- func (a *AtomicAssets) GetTemplateIDStats(collectionName string, templateID int) (*TemplateIDStatsProps, error)
- func (a *AtomicAssets) GetTemplates(options *GetTemplatesQuery) (*TemplatesProps, error)
- func (a *AtomicAssets) GetTransfers(options *GetTransfersQuery) (*TransfersProps, error)
- type BurnsAccountDataCollectionsProps
- type BurnsAccountDataProps
- type BurnsAccountDataTemplatesProps
- type BurnsAccountProps
- type BurnsDataProps
- type BurnsProps
- type Collection
- type CollectionNameLogsProps
- type CollectionNameProps
- type CollectionNameStatsProps
- type CollectionsDataProps
- type CollectionsProps
- type CollectionsStatsDataProps
- type Data
- type Format
- type GetAccountQuery
- type GetAccountsQuery
- type GetAssetLogsQuery
- type GetAssetsQuery
- type GetBurnsQuery
- type GetCollectionNameLogs
- type GetCollectionsQuery
- type GetOfferIDLogsQuery
- type GetOffersQuery
- type GetSchemaNameLogs
- type GetSchemasQuery
- type GetTemplateIDLogs
- type GetTemplatesQuery
- type GetTransfersQuery
- type LogDataProps
- type MutableData
- type OfferIDLogsProps
- type OffersData
- type OffersProps
- type Schema
- type SchemaCollection
- type SchemaFormat
- type SchemaNameLogsProps
- type SchemaNameProps
- type SchemaNameStatsProps
- type SchemaProps
- type SchemaStats
- type SchemasData
- type Template
- type TemplateCollectionData
- type TemplateIDLogsProps
- type TemplateIDProps
- type TemplateIDStatsProps
- type TemplateLogs
- type TemplateSchemaData
- type TemplateStats
- type TemplatesData
- type TemplatesProps
- type TransfersData
- type TransfersProps
- type Type
Constants ¶
const ACCOUNTS_API = "accounts"
const ASSETS_API = "assets"
const BURNS_API = "burns"
const COLLECTIONS_API = "collections"
const OFFERS_API = "offers"
const SCHEMAS_API = "schemas"
const TEMPLATES_API = "templates"
const TRANSFERS_API = "transfers"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountCollectionDataProps ¶
type AccountCollectionDataProps struct { Templates []AccountCollectionDataTemplatesProps `json:"templates"` Schemas []AccountCollectionDataSchemasProps `json:"schemas"` }
type AccountCollectionDataTemplatesProps ¶
type AccountCollectionDataTemplatesProps AccountDataTemplatesProps
type AccountCollectionProps ¶
type AccountCollectionProps struct { Success bool `json:"success"` Data AccountCollectionDataProps `json:"data,omitempty"` // if error from api, this is omitted QueryTime int64 `json:"query_time"` Message string `json:"message,omitempty"` // error message will be here }
type AccountDataCollectionsProps ¶
type AccountDataCollectionsProps struct { Collection CollectionsDataProps `json:"collection"` Assets string `json:"assets"` }
type AccountDataProps ¶
type AccountDataProps struct { Collections []AccountDataCollectionsProps `json:"collections"` Templates []AccountDataTemplatesProps Assets string `json:"assets"` }
type AccountProps ¶
type AccountProps struct { Success bool `json:"success"` Data []AccountDataProps `json:"data,omitempty"` // if error from api, this is omitted QueryTime int64 `json:"query_time"` Message string `json:"message,omitempty"` // error message will be here }
type AccountsDataProps ¶
type AccountsProps ¶
type AccountsProps struct { Success bool `json:"success"` Data []CollectionsDataProps `json:"data,omitempty"` // if error from api, this is omitted QueryTime int64 `json:"query_time"` Message string `json:"message,omitempty"` // error message will be here }
GetAccounts response
type AssetsDataProps ¶
type AssetsDataProps struct { Contract string `json:"contract"` AssetID string `json:"asset_id"` Owner string `json:"owner"` IsTransferable bool `json:"is_transferable"` IsBurnable bool `json:"is_burnable"` Collection Collection `json:"collection"` Schema Schema `json:"schema"` Template Template `json:"template"` MutableData MutableData `json:"mutable_data"` ImmutableData MutableData `json:"immutable_data"` TemplateMint string `json:"template_mint"` BackedTokens []interface{} `json:"backed_tokens"` BurnedByAccount interface{} `json:"burned_by_account"` BurnedAtBlock interface{} `json:"burned_at_block"` BurnedAtTime interface{} `json:"burned_at_time"` UpdatedAtBlock string `json:"updated_at_block"` UpdatedAtTime string `json:"updated_at_time"` TransferredAtBlock string `json:"transferred_at_block"` TransferredAtTime string `json:"transferred_at_time"` MintedAtBlock string `json:"minted_at_block"` MintedAtTime string `json:"minted_at_time"` Data Data `json:"data"` Name string `json:"name"` }
type AssetsIDLogsProps ¶
type AssetsIDLogsProps struct { Success bool `json:"success"` Data []LogDataProps `json:"data,omitempty"` // if error from api, this is omitted QueryTime int64 `json:"query_time"` Message string `json:"message,omitempty"` // error message will be here }
GetAssetIDLogs response
type AssetsIDProps ¶
type AssetsIDProps struct { Success bool `json:"success"` Data AssetsDataProps `json:"data,omitempty"` // if error from api, this is omitted QueryTime int64 `json:"query_time"` Message string `json:"message,omitempty"` // error message will be here }
GetAssetID response
type AssetsIDStatsProps ¶
type AssetsIDStatsProps struct { Success bool `json:"success"` Data AssetsStatsDataProps `json:"data,omitempty"` // if error from api, this is omitted QueryTime int64 `json:"query_time"` Message string `json:"message,omitempty"` // error message will be here }
GetAssetIDStats response
type AssetsProps ¶
type AssetsProps struct { Success bool `json:"success"` Data []AssetsDataProps `json:"data,omitempty"` // if error from api, this is omitted QueryTime int64 `json:"query_time"` Message string `json:"message,omitempty"` // error message will be here }
GetAssets response
type AssetsStatsDataProps ¶
type AssetsStatsDataProps struct {
TemplateMint string `json:"template_mint"`
}
type AtomicAssets ¶
type AtomicAssets struct {
// contains filtered or unexported fields
}
func NewCustom ¶
func NewCustom(endpoint string, client *http.Client) (*AtomicAssets, error)
Create a new AtomicAssets instance with custom api endpoint and http client.
func (*AtomicAssets) GetAccount ¶
func (a *AtomicAssets) GetAccount(account string, options *GetAccountQuery) (*AccountProps, error)
GetAccount gets a specific account.
func (*AtomicAssets) GetAccountCollection ¶
func (a *AtomicAssets) GetAccountCollection(account, collection string) (*AccountCollectionProps, error)
GetAccountCollection gets the templates and schemas count by account.
func (*AtomicAssets) GetAccounts ¶
func (a *AtomicAssets) GetAccounts(options *GetAccountsQuery) (*AccountsProps, error)
GetAccounts gets the accounts which oen atomicassets NFTs.
func (*AtomicAssets) GetAssetID ¶
func (a *AtomicAssets) GetAssetID(id string) (*AssetsIDProps, error)
GetAssetID fetches an assets by its id.
func (*AtomicAssets) GetAssetIDLogs ¶
func (a *AtomicAssets) GetAssetIDLogs(id string, options *GetAssetLogsQuery) (*AssetsIDLogsProps, error)
GetAssetIDLogs fetches the logs of an asset with its id.
func (*AtomicAssets) GetAssetIDStats ¶
func (a *AtomicAssets) GetAssetIDStats(id string) (*AssetsIDStatsProps, error)
GetAssetIDStats fetches the stats of an asset with its id.
func (*AtomicAssets) GetAssets ¶
func (a *AtomicAssets) GetAssets(options *GetAssetsQuery) (*AssetsProps, error)
GetAssets fetches assets.
func (*AtomicAssets) GetBurns ¶
func (a *AtomicAssets) GetBurns(options *GetBurnsQuery) (*BurnsProps, error)
GetBurns gets the burns.
func (*AtomicAssets) GetBurnsAccount ¶
func (a *AtomicAssets) GetBurnsAccount(account string, options *GetBurnsQuery) (*BurnsAccountProps, error)
GetBurnsAccount gets the burns of a specific account.
func (*AtomicAssets) GetCollectionName ¶
func (a *AtomicAssets) GetCollectionName(name string) (*CollectionNameProps, error)
GetCollectionName gets the collection with its name.
func (*AtomicAssets) GetCollectionNameLogs ¶
func (a *AtomicAssets) GetCollectionNameLogs(name string, options *GetCollectionNameLogs) (*CollectionNameLogsProps, error)
GetCollectionNameStats gets the collection's logs.
func (*AtomicAssets) GetCollectionNameStats ¶
func (a *AtomicAssets) GetCollectionNameStats(name string) (*CollectionNameStatsProps, error)
GetCollectionNameStats gets the collection's stats.
func (*AtomicAssets) GetCollections ¶
func (a *AtomicAssets) GetCollections(options *GetCollectionsQuery) (*CollectionsProps, error)
GetCollections fetchers collections.
func (*AtomicAssets) GetOfferID ¶
func (a *AtomicAssets) GetOfferID(offerID int) (*OffersData, error)
GetOfferID gets the offer by its id.
func (*AtomicAssets) GetOfferIDLogs ¶
func (a *AtomicAssets) GetOfferIDLogs(offerID int, options *GetOfferIDLogsQuery) (*OfferIDLogsProps, error)
GetOfferIDLogs gets the offer id's logs.
func (*AtomicAssets) GetOffers ¶
func (a *AtomicAssets) GetOffers(options *GetOffersQuery) (*OffersProps, error)
GetOffers fetches offers.
func (*AtomicAssets) GetSchemaName ¶
func (a *AtomicAssets) GetSchemaName(collectionName, schemaName string) (*SchemaNameProps, error)
GetCollectionName gets the collection with its name.
func (*AtomicAssets) GetSchemaNameLogs ¶
func (a *AtomicAssets) GetSchemaNameLogs(collectionName, schemaName string, options *GetSchemaNameLogs) (*SchemaNameLogsProps, error)
GetCollectionNameStats gets the collection's logs.
func (*AtomicAssets) GetSchemaNameStats ¶
func (a *AtomicAssets) GetSchemaNameStats(collectionName, schemaName string) (*SchemaNameStatsProps, error)
GetCollectionNameStats gets the collection's stats.
func (*AtomicAssets) GetSchemas ¶
func (a *AtomicAssets) GetSchemas(options *GetSchemasQuery) (*SchemaProps, error)
GetSchemas fetchers collections.
func (*AtomicAssets) GetTemplateID ¶
func (a *AtomicAssets) GetTemplateID(collectionName string, templateID int) (*TemplateIDProps, error)
GetTemplateID gets the template by its id.
func (*AtomicAssets) GetTemplateIDLogs ¶
func (a *AtomicAssets) GetTemplateIDLogs(collectionName string, templateID int, options *GetTemplateIDLogs) (*TemplateIDLogsProps, error)
GetTemplateIDLogs gets the collection's logs.
func (*AtomicAssets) GetTemplateIDStats ¶
func (a *AtomicAssets) GetTemplateIDStats(collectionName string, templateID int) (*TemplateIDStatsProps, error)
GetTemplateIDStats gets the collection's stats.
func (*AtomicAssets) GetTemplates ¶
func (a *AtomicAssets) GetTemplates(options *GetTemplatesQuery) (*TemplatesProps, error)
GetTemplates fetches templates.
func (*AtomicAssets) GetTransfers ¶
func (a *AtomicAssets) GetTransfers(options *GetTransfersQuery) (*TransfersProps, error)
GetTransfers fetches transfers.
type BurnsAccountDataProps ¶
type BurnsAccountDataProps struct { Collections []BurnsAccountDataCollectionsProps `json:"collections"` Templates []BurnsAccountDataTemplatesProps `json:"templates"` Assets string `json:"assets"` }
type BurnsAccountProps ¶
type BurnsAccountProps struct { Success bool `json:"success"` Data []BurnsAccountDataProps `json:"data,omitempty"` // if error from api, this is omitted QueryTime int64 `json:"query_time"` Message string `json:"message,omitempty"` // error message will be here }
type BurnsDataProps ¶
type BurnsDataProps AccountsDataProps
type BurnsProps ¶
type BurnsProps struct { Success bool `json:"success"` Data []BurnsDataProps `json:"data,omitempty"` // if error from api, this is omitted QueryTime int64 `json:"query_time"` Message string `json:"message,omitempty"` // error message will be here }
type Collection ¶
type Collection struct { CollectionName string `json:"collection_name"` Name string `json:"name"` Img string `json:"img"` Author string `json:"author"` AllowNotify bool `json:"allow_notify"` AuthorizedAccounts []string `json:"authorized_accounts"` NotifyAccounts []interface{} `json:"notify_accounts"` MarketFee float64 `json:"market_fee"` CreatedAtBlock string `json:"created_at_block"` CreatedAtTime string `json:"created_at_time"` }
type CollectionNameLogsProps ¶
type CollectionNameLogsProps AssetsIDLogsProps
GetCollectionNameLogs response
type CollectionNameProps ¶
type CollectionNameProps struct { Success bool `json:"success"` Data CollectionsDataProps `json:"data,omitempty"` // if error from api, this is omitted QueryTime int64 `json:"query_time"` Message string `json:"message,omitempty"` // error message will be here }
GetCollectionName response
type CollectionNameStatsProps ¶
type CollectionNameStatsProps struct { Success bool `json:"success"` Data CollectionsStatsDataProps `json:"data,omitempty"` // if error from api, this is omitted QueryTime int64 `json:"query_time"` Message string `json:"message,omitempty"` // error message will be here }
GetCollectionNameStats response
type CollectionsDataProps ¶
type CollectionsDataProps struct { Contract string `json:"contract"` CollectionName string `json:"collection_name"` Name string `json:"name"` Author string `json:"author"` AllowNotify bool `json:"allow_notify"` AuthorizedAccounts []string `json:"authorized_accounts"` NotifyAccounts []string `json:"notify_accounts"` MarketFee float64 `json:"market_fee"` Data Data `json:"data"` CreatedAtBlock string `json:"created_at_block"` CreatedAtTime string `json:"created_at_time"` }
type CollectionsProps ¶
type CollectionsProps struct { Success bool `json:"success"` Data []CollectionsDataProps `json:"data,omitempty"` // if error from api, this is omitted QueryTime int64 `json:"query_time"` Message string `json:"message,omitempty"` // error message will be here }
GetCollections response
type GetAccountQuery ¶
type GetAccountsQuery ¶
type GetAccountsQuery struct { Match string `url:"match,omitempty"` CollectionName string `url:"collection_name,omitempty"` SchemaName string `url:"schema_name,omitempty"` TemplateID string `url:"template_id,omitempty"` HideOffers bool `url:"hide_offers,omitempty"` CollectionBlacklist []string `url:"collection_blacklist,omitempty" del:","` CollectionWhitelist []string `url:"collection_whitelist,omitempty" del:","` IDs []string `url:"ids,omitempty" del:","` LowerBound string `url:"lower_bound,omitempty"` UpperBound string `url:"upper_bound,omitempty"` Page int64 `url:"page,omitempty"` Limit int64 `url:"limit,omitempty"` Order string `url:"order,omitempty"` }
type GetAssetLogsQuery ¶
type GetAssetsQuery ¶
type GetAssetsQuery struct { CollectionName string `url:"collection_name,omitempty"` SchemaName string `url:"schema_name,omitempty"` TemplateID int `url:"template_id,omitempty"` IsTransferable bool `url:"is_transferable,omitempty"` IsBurnable bool `url:"is_burnable,omitempty"` Burned bool `url:"burned,omitempty"` Owner string `url:"owner,omitempty"` Match string `url:"match,omitempty"` CollectionBlacklist []string `url:"collection_blacklist,omitempty" del:","` CollectionWhitelist []string `url:"collection_whitelist,omitempty" del:","` OnlyDuplicateTemplates bool `url:"only_duplicate_templates,omitempty"` HasBackedTokens bool `url:"has_backed_tokens,omitempty"` AuthorizedAccount bool `url:"authorized_account,omitempty"` TemplateWhitelist []string `url:"template_whitelist,omitempty" del:","` TemplateBlacklist []string `url:"template_blacklist,omitempty" del:","` HideTemplatesByAccounts string `url:"hide_templates_by_accounts,omitempty"` HideOffers bool `url:"hide_offers,omitempty"` IDs []string `url:"ids,omitempty" del:","` LowerBound []string `url:"lower_bound,omitempty" del:","` UpperBound []string `url:"upper_bound,omitempty" del:","` Before int64 `url:"before,omitempty"` After int64 `url:"after,omitempty"` Page int `url:"page,omitempty"` Limit int `url:"limit,omitempty"` Order string `url:"order,omitempty"` Sort string `url:"sort,omitempty"` }
type GetBurnsQuery ¶
type GetBurnsQuery struct { CollectionName string `url:"collection_name,omitempty"` SchemaName string `url:"schema_name,omitempty"` TemplateID string `url:"template_id,omitempty"` CollectionBlacklist []string `url:"collection_blacklist,omitempty" del:","` CollectionWhitelist []string `url:"collection_whitelist,omitempty" del:","` IDs []string `url:"ids,omitempty" del:","` LowerBound string `url:"lower_bound,omitempty"` UpperBound string `url:"upper_bound,omitempty"` Page int64 `url:"page,omitempty"` Limit int64 `url:"limit,omitempty"` Order string `url:"order,omitempty"` }
type GetCollectionNameLogs ¶
type GetCollectionNameLogs GetAssetLogsQuery
type GetCollectionsQuery ¶
type GetCollectionsQuery struct { Author string `url:"author,omitempty"` Match string `url:"match,omitempty"` AuthorizedAccount string `url:"authorized_account,omitempty"` NotifyAccount string `url:"notify_account,omitempty"` CollectionBlacklist []string `url:"collection_blacklist,omitempty" del:","` CollectionWhitelist []string `url:"collection_whitelist,omitempty" del:","` IDs []string `url:"ids,omitempty" del:","` LowerBound string `url:"lower_bound,omitempty"` UpperBound string `url:"upper_bound,omitempty"` Before int64 `url:"before,omitempty"` After int64 `url:"after,omitempty"` Page int `url:"page,omitempty"` Limit int `url:"limit,omitempty"` Order string `url:"order,omitempty"` Sort string `url:"sort,omitempty"` }
type GetOfferIDLogsQuery ¶
type GetOfferIDLogsQuery GetAssetLogsQuery
type GetOffersQuery ¶
type GetOffersQuery struct { Account string `url:"account,omitempty"` Sender string `url:"sender,omitempty"` Recipient string `url:"recipient,omitempty"` State string `url:"state,omitempty"` IsRecipientContract bool `url:"is_recipient_contact,omitempty"` AssetID []string `url:"asset_id,omitempty" del:","` TemplateID []string `url:"template_id,omitempty" del:","` SchemaName []string `url:"schema_name,omitempty" del:","` CollectionName []string `url:"collection_name,omitempty" del:","` AccountWhitelist string `url:"account_whitelist,omitempty"` AccountBlacklist string `url:"account_blacklist,omitempty"` SenderAssetWhitelist string `url:"sender_asset_whitelist,omitempty"` SenderAssetBlacklist string `url:"sender_asset_blacklist,omitempty"` RecipientAssetWhitelist string `url:"recipient_asset_whitelist,omitempty"` RecipientAssetBlacklist string `url:"recipient_asset_blacklist,omitempty"` HideContracts bool `url:"hide_contracts,omitempty"` Ids []string `url:"ids,omitempty" del:","` LowerBound string `url:"lower_bound,omitempty"` UpperBound string `url:"upper_bound,omitempty"` Before int64 `url:"before,omitempty"` After int64 `url:"after,omitempty"` Page int `url:"page,omitempty"` Limit int `url:"limit,omitempty"` Order string `url:"order,omitempty"` Sort string `url:"sort,omitempty"` }
type GetSchemaNameLogs ¶
type GetSchemaNameLogs GetAssetLogsQuery
type GetSchemasQuery ¶
type GetSchemasQuery struct { CollectionName string `url:"collection_name,omitempty"` AuthorizedAccount string `url:"authorized_account,omitempty"` SchemaName string `url:"schema_name,omitempty"` Match string `url:"match,omitempty"` CollectionBlacklist []string `url:"collection_blacklist,omitempty" del:","` CollectionWhitelist []string `url:"collection_whitelist,omitempty" del:","` IDs []string `url:"ids,omitempty" del:","` LowerBound string `url:"lower_bound,omitempty"` UpperBound string `url:"upper_bound,omitempty"` Before int64 `url:"before,omitempty"` After int64 `url:"after,omitempty"` Page int `url:"page,omitempty"` Limit int `url:"limit,omitempty"` Order string `url:"order,omitempty"` Sort string `url:"sort,omitempty"` }
type GetTemplateIDLogs ¶
type GetTemplateIDLogs GetAssetLogsQuery
type GetTemplatesQuery ¶
type GetTemplatesQuery struct { CollectionName string `url:"collection_name,omitempty"` SchemaName string `url:"schema_name,omitempty"` IssuedSupply int `url:"issued_supply,omitempty"` MinIssuedSupply int `url:"min_issued_supply,omitempty"` MaxIssuedSupply int `url:"max_issued_supply,omitempty"` HasAssets bool `url:"has_assets,omitempty"` MaxSupply int `url:"max_supply,omitempty"` IsBurnable bool `url:"is_burnable,omitempty"` IsTransferable bool `url:"is_transferable,omitempty"` AuthorizedAccount string `url:"authorized_account,omitempty"` Match string `url:"match,omitempty"` CollectionBlacklist []string `url:"collection_blacklist,omitempty" del:","` CollectionWhitelist []string `url:"collection_whitelist,omitempty" del:","` IDs []string `url:"ids,omitempty" del:","` LowerBound string `url:"lower_bound,omitempty"` UpperBound string `url:"upper_bound,omitempty"` Before int64 `url:"before,omitempty"` After int64 `url:"after,omitempty"` Page int `url:"page,omitempty"` Limit int `url:"limit,omitempty"` Order string `url:"order,omitempty"` Sort string `url:"sort,omitempty"` }
type GetTransfersQuery ¶
type GetTransfersQuery struct { Account string `url:"account,omitempty"` Sender string `url:"sender,omitempty"` Recipient string `url:"recipient,omitempty"` AssetID string `url:"asset_id,omitempty"` TemplateID string `url:"template_id,omitempty"` SchemaName string `url:"schema_name,omitempty"` CollectionName string `url:"collection_name,omitempty"` HideContracts bool `url:"hide_contracts,omitempty"` IDs []string `url:"ids,omitempty" del:","` LowerBound string `url:"lower_bound,omitempty"` UpperBound string `url:"upper_bound,omitempty"` Before int64 `url:"before,omitempty"` After int64 `url:"after,omitempty"` CollectionBlacklist []string `url:"collection_blacklist,omitempty" del:","` CollectionWhitelist []string `url:"collection_whitelist,omitempty" del:","` Page int64 `url:"page,omitempty"` Limit int64 `url:"limit,omitempty"` Order string `url:"order,omitempty"` Sort string `url:"sort,omitempty"` }
type LogDataProps ¶
type MutableData ¶
type MutableData map[string]interface{}
type OfferIDLogsProps ¶
type OfferIDLogsProps AssetsIDLogsProps
type OffersData ¶
type OffersData struct { Contract string `json:"contract"` OfferID string `json:"offer_id"` SenderName string `json:"sender_name"` RecipientName string `json:"recipient_name"` Memo string `json:"memo"` State int64 `json:"state"` IsSenderContract bool `json:"is_sender_contract"` IsRecipientContract bool `json:"is_recipient_contract"` SenderAssets []AssetsDataProps `json:"sender_assets"` RecipientAssets []AssetsDataProps `json:"recipient_assets"` UpdatedAtBlock string `json:"updated_at_block"` UpdatedAtTime string `json:"updated_at_time"` CreatedAtBlock string `json:"created_at_block"` CreatedAtTime string `json:"created_at_time"` }
type OffersProps ¶
type OffersProps struct { Success bool `json:"success"` Data []OffersData `json:"data,omitempty"` // if error from api, this is omitted QueryTime int64 `json:"query_time"` Message string `json:"message,omitempty"` // error message will be here }
type SchemaCollection ¶
type SchemaCollection struct { CollectionName string `json:"collection_name"` Name string `json:"name"` Author string `json:"author"` AllowNotify bool `json:"allow_notify"` AuthorizedAccounts []string `json:"authorized_accounts"` NotifyAccounts []string `json:"notify_accounts"` MarketFee float64 `json:"market_fee"` CreatedAtBlock string `json:"created_at_block"` CreatedAtTime string `json:"created_at_time"` }
type SchemaFormat ¶
type SchemaNameProps ¶
type SchemaNameProps struct { Success bool `json:"success"` Data SchemasData `json:"data,omitempty"` // if error from api, this is omitted QueryTime int64 `json:"query_time"` Message string `json:"message,omitempty"` // error message will be here }
GetSchemaName response
type SchemaNameStatsProps ¶
type SchemaNameStatsProps struct { Success bool `json:"success"` Data SchemaStats `json:"data,omitempty"` // if error from api, this is omitted QueryTime int64 `json:"query_time"` Message string `json:"message,omitempty"` // error message will be here }
GetSchemaNameStats response
type SchemaProps ¶
type SchemaProps struct { Success bool `json:"success"` Data []SchemasData `json:"data,omitempty"` // if error from api, this is omitted QueryTime int64 `json:"query_time"` Message string `json:"message,omitempty"` // error message will be here }
GetSchemas response
type SchemaStats ¶
type SchemasData ¶
type SchemasData struct { Contract string `json:"contract"` SchemaName string `json:"schema_name"` Format []SchemaFormat `json:"format"` CreatedAtBlock string `json:"created_at_block"` CreatedAtTime string `json:"created_at_time"` Collection SchemaCollection `json:"collection"` }
type Template ¶
type Template struct { TemplateID string `json:"template_id"` MaxSupply string `json:"max_supply"` IsTransferable bool `json:"is_transferable"` IsBurnable bool `json:"is_burnable"` IssuedSupply string `json:"issued_supply"` ImmutableData Data `json:"immutable_data"` CreatedAtTime string `json:"created_at_time"` CreatedAtBlock string `json:"created_at_block"` }
type TemplateCollectionData ¶
type TemplateCollectionData struct { CollectionName string `json:"collection_name"` Name string `json:"name"` Author string `json:"author"` AllowNotify bool `json:"allow_notify"` AuthorizedAccounts []string `json:"authorized_accounts"` NotifyAccounts []string `json:"notify_accounts"` MarketFee float64 `json:"market_fee"` CreatedAtBlock string `json:"created_at_block"` CreatedAtTime string `json:"created_at_time"` }
type TemplateIDLogsProps ¶
type TemplateIDLogsProps struct { Success bool `json:"success"` Data []TemplateLogs `json:"data,omitempty"` // if error from api, this is omitted QueryTime int64 `json:"query_time"` Message string `json:"message,omitempty"` // error message will be here }
GetTemplateIDLogs response
type TemplateIDProps ¶
type TemplateIDProps struct { Success bool `json:"success"` Data TemplatesData `json:"data,omitempty"` // if error from api, this is omitted QueryTime int64 `json:"query_time"` Message string `json:"message,omitempty"` // error message will be here }
GetTemplateID response
type TemplateIDStatsProps ¶
type TemplateIDStatsProps struct { Success bool `json:"success"` Data TemplateStats `json:"data,omitempty"` // if error from api, this is omitted QueryTime int64 `json:"query_time"` Message string `json:"message,omitempty"` // error message will be here }
GetTemplateIDStats response
type TemplateLogs ¶
type TemplateLogs AssetsIDLogsProps
type TemplateSchemaData ¶
type TemplateSchemaData struct { SchemaName string `json:"schema_name"` Format []SchemaFormat `json:"format"` CreatedAtBlock string `json:"created_at_block"` CreatedAtTime string `json:"created_at_time"` }
type TemplateStats ¶
type TemplatesData ¶
type TemplatesData struct { Contract string `json:"contract"` TemplateID string `json:"template_id"` MaxSupply string `json:"max_supply"` IsTransferable bool `json:"is_transferable"` IsBurnable bool `json:"is_burnable"` ImmutableData MutableData `json:"immutable_data"` CreatedAtTime string `json:"created_at_time"` CreatedAtBlock string `json:"created_at_block"` Schema TemplateSchemaData `json:"schema"` Collection TemplateCollectionData `json:"collection"` }
type TemplatesProps ¶
type TemplatesProps struct { Success bool `json:"success"` Data []TemplatesData `json:"data,omitempty"` // if error from api, this is omitted QueryTime int64 `json:"query_time"` Message string `json:"message,omitempty"` // error message will be here }
GetTemplates response
type TransfersData ¶
type TransfersData struct { Contract string `json:"contract"` TransferID string `json:"transfer_id"` SenderName string `json:"sender_name"` RecipientName string `json:"recipient_name"` Memo string `json:"memo"` Assets []AssetsDataProps `json:"assets"` CreatedAtBlock string `json:"created_at_block"` CreatedAtTime string `json:"created_at_time"` }
type TransfersProps ¶
type TransfersProps struct { Success bool `json:"success"` Data []TransfersData `json:"data,omitempty"` // if error from api, this is omitted QueryTime int64 `json:"query_time"` Message string `json:"message,omitempty"` // error message will be here }