pub enum QueryMsg {
Show 23 variants Collections { start_after: Option<Collection>, limit: Option<u32>, }, Ask { collection: Collection, token_id: TokenId, }, Asks { collection: Collection, include_inactive: Option<bool>, start_after: Option<TokenId>, limit: Option<u32>, }, ReverseAsks { collection: Collection, include_inactive: Option<bool>, start_before: Option<TokenId>, limit: Option<u32>, }, AsksSortedByPrice { collection: Collection, include_inactive: Option<bool>, start_after: Option<AskOffset>, limit: Option<u32>, }, ReverseAsksSortedByPrice { collection: Collection, include_inactive: Option<bool>, start_before: Option<AskOffset>, limit: Option<u32>, }, AskCount { collection: Collection, }, AsksBySeller { seller: Seller, include_inactive: Option<bool>, start_after: Option<CollectionOffset>, limit: Option<u32>, }, Bid { collection: Collection, token_id: TokenId, bidder: Bidder, }, BidsByBidder { bidder: Bidder, start_after: Option<CollectionOffset>, limit: Option<u32>, }, BidsByBidderSortedByExpiration { bidder: Bidder, start_after: Option<CollectionOffset>, limit: Option<u32>, }, Bids { collection: Collection, token_id: TokenId, start_after: Option<Bidder>, limit: Option<u32>, }, BidsSortedByPrice { collection: Collection, start_after: Option<BidOffset>, limit: Option<u32>, }, ReverseBidsSortedByPrice { collection: Collection, start_before: Option<BidOffset>, limit: Option<u32>, }, CollectionBid { collection: Collection, bidder: Bidder, }, CollectionBidsByBidder { bidder: Bidder, start_after: Option<CollectionOffset>, limit: Option<u32>, }, CollectionBidsByBidderSortedByExpiration { bidder: Collection, start_after: Option<CollectionBidOffset>, limit: Option<u32>, }, CollectionBidsSortedByPrice { collection: Collection, start_after: Option<CollectionBidOffset>, limit: Option<u32>, }, ReverseCollectionBidsSortedByPrice { collection: Collection, start_before: Option<CollectionBidOffset>, limit: Option<u32>, }, AskHooks {}, BidHooks {}, SaleHooks {}, Params {},
}

Variants

Collections

Fields

start_after: Option<Collection>
limit: Option<u32>

List of collections that have asks on them Return type: CollectionsResponse

Ask

Fields

collection: Collection
token_id: TokenId

Get the current ask for specific NFT Return type: CurrentAskResponse

Asks

Fields

collection: Collection
include_inactive: Option<bool>
start_after: Option<TokenId>
limit: Option<u32>

Get all asks for a collection Return type: AsksResponse

ReverseAsks

Fields

collection: Collection
include_inactive: Option<bool>
start_before: Option<TokenId>
limit: Option<u32>

Get all asks for a collection in reverse Return type: AsksResponse

AsksSortedByPrice

Fields

collection: Collection
include_inactive: Option<bool>
start_after: Option<AskOffset>
limit: Option<u32>

Get all asks for a collection, sorted by price Return type: AsksResponse

ReverseAsksSortedByPrice

Fields

collection: Collection
include_inactive: Option<bool>
start_before: Option<AskOffset>
limit: Option<u32>

Get all asks for a collection, sorted by price in reverse Return type: AsksResponse

AskCount

Fields

collection: Collection

Count of all asks Return type: AskCountResponse

AsksBySeller

Fields

seller: Seller
include_inactive: Option<bool>
start_after: Option<CollectionOffset>
limit: Option<u32>

Get all asks by seller Return type: AsksResponse

Bid

Fields

collection: Collection
token_id: TokenId
bidder: Bidder

Get data for a specific bid Return type: BidResponse

BidsByBidder

Fields

bidder: Bidder
start_after: Option<CollectionOffset>
limit: Option<u32>

Get all bids by a bidder Return type: BidsResponse

BidsByBidderSortedByExpiration

Fields

bidder: Bidder
start_after: Option<CollectionOffset>
limit: Option<u32>

Get all bids by a bidder, sorted by expiration Return type: BidsResponse

Bids

Fields

collection: Collection
token_id: TokenId
start_after: Option<Bidder>
limit: Option<u32>

Get all bids for a specific NFT Return type: BidsResponse

BidsSortedByPrice

Fields

collection: Collection
start_after: Option<BidOffset>
limit: Option<u32>

Get all bids for a collection, sorted by price Return type: BidsResponse

ReverseBidsSortedByPrice

Fields

collection: Collection
start_before: Option<BidOffset>
limit: Option<u32>

Get all bids for a collection, sorted by price in reverse Return type: BidsResponse

CollectionBid

Fields

collection: Collection
bidder: Bidder

Get data for a specific collection bid Return type: CollectionBidResponse

CollectionBidsByBidder

Fields

bidder: Bidder
start_after: Option<CollectionOffset>
limit: Option<u32>

Get all collection bids by a bidder Return type: CollectionBidsResponse

CollectionBidsByBidderSortedByExpiration

Fields

bidder: Collection
limit: Option<u32>

Get all collection bids by a bidder, sorted by expiration Return type: CollectionBidsResponse

CollectionBidsSortedByPrice

Fields

collection: Collection
limit: Option<u32>

Get all collection bids for a collection sorted by price Return type: CollectionBidsResponse

ReverseCollectionBidsSortedByPrice

Fields

collection: Collection
start_before: Option<CollectionBidOffset>
limit: Option<u32>

Get all collection bids for a collection sorted by price in reverse Return type: CollectionBidsResponse

AskHooks

Fields

Show all registered ask hooks Return type: HooksResponse

BidHooks

Fields

Show all registered bid hooks Return type: HooksResponse

SaleHooks

Fields

Show all registered sale hooks Return type: HooksResponse

Params

Fields

Get the config for the contract Return type: ParamsResponse

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
The name of the generated JSON Schema. Read more
Generates a JSON Schema for this type. Read more
Whether JSON Schemas generated for this type should be re-used where possible using the $ref keyword. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.