Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllNftsParams ¶
type LiveParams ¶
type LiveParams struct {
UpdatedAfter types.ISO8601DateTime `graphql:"updatedAfter"`
}
type MonetaryAmount ¶
type Token ¶
type Token struct { AssetId string `graphql:"assetId"` Collection string `graphql:"collection"` ContractAddress string `graphql:"contractAddress"` EthereumId string `graphql:"ethereumId"` Id graphql.Id `graphql:"id"` LatestEnglishAuction *struct { Id graphql.Id `graphql:"id"` } `graphql:"latestEnglishAuction"` LiveSingleSaleOffer *struct { Id graphql.Id `graphql:"id"` } `graphql:"liveSingleSaleOffer"` Metadata struct { Football TokenCardMetadata `graphql:"... on TokenCardMetadataInterface"` } Name string `graphql:"name"` PictureUrl string `graphql:"pictureUrl(derivative: \"tinified\")"` PrivateMinPrice decimal.Decimal `graphql:"privateMinPrice"` PublicMinPrice decimal.Decimal `graphql:"publicMinPrice"` Slug string `graphql:"slug"` Sport string `graphql:"sport"` OwnershipHistory []TokenOwner `graphql:"ownershipHistory"` }
type TokenAuction ¶
type TokenAuction struct { AutoBid bool `graphql:"autoBid"` BestBid TokenBid `graphql:"bestBid"` BidsCount int `graphql:"bidsCount"` BlockchainId string `graphql:"blockchainId"` Cancelled bool `graphql:"cancelled"` CreditCardFee decimal.Decimal `graphql:"creditCardFee"` Currency types.SupportedCurrency `graphql:"currency"` CurrentPrice decimal.Decimal `graphql:"currentPrice"` EndDate time.Time `graphql:"endDate"` HasTrade bool `graphql:"hasTrade"` Id graphql.Id `graphql:"id"` MinNextBid decimal.Decimal `graphql:"minNextBid"` Nfts []TokenOfferNft `graphql:"nfts"` Open bool `graphql:"open"` StartDate time.Time `graphql:"startDate"` Team string `graphql:"team"` UpdatedAt time.Time `graphql:"updatedAt"` }
type TokenBid ¶
type TokenBid struct { Amount decimal.Decimal `graphql:"amount"` AmountInFiat struct { Eur decimal.Decimal `graphql:"eur"` Usd decimal.Decimal `graphql:"usd"` Gbp decimal.Decimal `graphql:"gbp"` } `graphql:"amountInFiat"` Amounts MonetaryAmount `graphql:"amounts"` Auction struct { Id string `graphql:"id"` } `graphql:"auction"` Bidder struct { User struct { Slug string `graphql:"slug"` Nickname string `graphql:"nickname"` } `graphql:"... on User"` } `graphql:"bidder"` CreatedAt time.Time `graphql:"createdAt"` FiatPayment bool `graphql:"fiatPayment"` Id graphql.Id `graphql:"id"` MaximumAmount decimal.Decimal `graphql:"maximumAmount"` MaximumAmountInFiat struct { Eur decimal.Decimal `graphql:"eur"` Usd decimal.Decimal `graphql:"usd"` Gbp decimal.Decimal `graphql:"gbp"` } `graphql:"maximumAmountInFiat"` MaximumAmounts MonetaryAmount `graphql:"maximumAmounts"` }
type TokenCardMetadata ¶
type TokenCardMetadata struct { PlayerDisplayName string `graphql:"playerDisplayName"` PlayerSlug string `graphql:"playerSlug"` Rarity string `graphql:"rarity"` SerialNumber int `graphql:"serialNumber"` SeasonStartYear int `graphql:"seasonStartYear"` SingleCivilYear bool `graphql:"singleCivilYear"` Supply int `graphql:"supply"` TeamSlug string `graphql:"teamSlug"` }
type TokenOffer ¶
type TokenOffer struct { Id graphql.Id `graphql:"id"` BlockchainId string `graphql:"blockchainId"` AcceptedAt time.Time `graphql:"acceptedAt"` CreatedAt time.Time `graphql:"createdAt"` CancelledAt time.Time `graphql:"cancelledAt"` EndDate time.Time `graphql:"endDate"` StartDate time.Time `graphql:"startDate"` Status string MarketFeeAmountWei decimal.Decimal Receiver struct { User struct { Slug string `graphql:"slug"` } `graphql:"... on User"` } `graphql:"actualReceiver"` ReceiverSide struct { Wei decimal.Decimal Nfts []TokenOfferNft `graphql:"nfts"` } Sender struct { User struct { Slug string `graphql:"slug"` } `graphql:"... on User"` } SenderSide struct { Wei decimal.Decimal Nfts []TokenOfferNft `graphql:"nfts"` } }
type TokenOfferNft ¶
type TokenOfferNft struct { AssetId string `graphql:"assetId"` Collection string `graphql:"collection"` Metadata struct { TokenCardMetadataInterface TokenCardMetadata `graphql:"... on TokenCardMetadataInterface"` } `graphql:"metadata"` }
type TokenOwner ¶
type TokenOwner struct { Deal struct { Typename string `graphql:"__typename"` Node struct { Id graphql.Id `graphql:"id"` } `graphql:"... on Node"` } `graphql:"deal"` From time.Time `graphql:"from"` Id graphql.Id `graphql:"id"` Price MonetaryAmount `graphql:"price"` PriceFiat struct { Eur decimal.Decimal `graphql:"eur"` Usd decimal.Decimal `graphql:"usd"` Gbp decimal.Decimal `graphql:"gbp"` } `graphql:"priceFiat"` PriceWei decimal.Decimal `graphql:"priceWei"` SettleAt time.Time `graphql:"settleAt"` Token struct { AssetId string `graphql:"assetId"` } `graphql:"token"` TransferType types.OwnerTransfer `graphql:"transferType"` User struct { Slug string `graphql:"slug"` } `graphql:"user"` }
type TokenPrice ¶
type TokenPrice struct { Amount decimal.Decimal `graphql:"amount"` AmountInFiat struct { Eur decimal.Decimal `graphql:"eur"` Usd decimal.Decimal `graphql:"usd"` Gbp decimal.Decimal `graphql:"gbp"` } `graphql:"amountInFiat"` Amounts MonetaryAmount `graphql:"amounts"` Date time.Time `graphql:"date"` Deal struct { Typename string `graphql:"__typename"` TokenAuction struct { Id graphql.Id `graphql:"id"` } `graphql:"... on TokenAuction"` TokenPrimaryOffer struct { Id graphql.Id `graphql:"id"` } `graphql:"... on TokenPrimaryOffer"` TokenOffer struct { Id graphql.Id `graphql:"id"` } `graphql:"... on TokenOffer"` } Id graphql.Id `graphql:"id"` }
type TokenPricesParams ¶
type TokenPricesParams struct { Collection types.Collection `graphql:"collection"` PlayerSlug string `graphql:"playerSlug"` Rarity types.Rarity `graphql:"rarity"` }
type TokenPrimaryOffer ¶
type TokenPrimaryOffer struct { AppleProductId string `graphql:"appleProductId"` Buyer struct { Slug string `graphql:"slug"` } `graphql:"buyer"` CancelledAt time.Time `graphql:"cancelledAt"` EndDate time.Time `graphql:"endDate"` HasTrade bool `graphql:"hasTrade"` Id graphql.Id `graphql:"id"` Nfts []TokenOfferNft `graphql:"nfts"` Price MonetaryAmount `graphql:"price"` SettledAt time.Time `graphql:"settledAt"` SignedAmount string `graphql:"signedAmount"` StartDate time.Time `graphql:"startDate"` Status string `graphql:"status"` UpdatedAt time.Time `graphql:"updatedAt"` }
type Tokens ¶
type Tokens struct { AllNfts *graphql.PaginatedQuery[Token, AllNftsParams] Auction *graphql.Query[TokenAuction, graphql.IdStringParams] Auctions *graphql.Query[[]TokenAuction, graphql.IdStringsParams] LiveAuctions *graphql.PaginatedQuery[TokenAuction, LiveParams] LivePrimaryOffers *graphql.PaginatedQuery[TokenPrimaryOffer, LiveParams] LiveSingleSaleOffers *graphql.PaginatedQuery[TokenOffer, LiveParams] Nft *graphql.Query[Token, graphql.AssetIdParams] Nfts *graphql.Query[[]Token, graphql.AssetIdsParams] Offer *graphql.Query[TokenOffer, graphql.IdStringParams] Offers *graphql.Query[[]TokenOffer, graphql.IdStringsParams] PrimaryOffer *graphql.Query[TokenPrimaryOffer, graphql.IdStringParams] PrimaryOffers *graphql.Query[[]TokenPrimaryOffer, graphql.IdStringsParams] TokenPrices *graphql.Query[[]TokenPrice, TokenPricesParams] // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.