StatsUriParameterBuilder
Summary
WithState
takes a list of State
s and converts them to a comma separated string of integers
WithMaxAssets
sets the _maxAssets
variable
WithMinAssets
sets the _minAssets
variable
WithShowSellerContracts
sets the _showSellerContracts
field to the value of the showSellerContracts
parameter
WithContractWhitelist
sets the _contractWhitelist
field to the value of the contractWhitelist
parameter
WithSellerBlacklist
sets the _sellerBlacklist
field to the value of the sellerBlacklist
parameter
WithAssetId
sets the _assetId
variable to the value of the asset_id
parameter
WithMarketplace
sets the marketplace
parameter
WithMakerMarketplace
sets the makerMarketplace
parameter
WithTakerMarketplace
sets the takerMarketplace
parameter
WithSymbol
sets the symbol
parameter
WithSeller
sets the seller
parameter
WithBuyer
sets the buyer
parameter
WithMinPrice
sets the _minPrice
variable to the value of the minPrice
parameter
WithMaxPrice
sets the _maxPrice
variable to the value of the maxPrice
parameter
WithMinTemplateMint
sets the _minTemplateMint
variable to the value of the minTemplateMint
parameter
WithMaxTemplateMint
sets the _maxTemplateMint
variable to the value of the maxTemplateMint
parameter
WithOwner
sets the owner
parameter
WithBurned
sets the _burned
field to the value of the burned
parameter
WithCollectionName
is a function that takes a string as a parameter and returns a StatsUriParameterBuilder
object.
This function sets the schema name for the query.
It sets the value of the templateId variable.
WithIsTransferable
sets the _isTransferable
field to the value of the isTransferable
parameter
WithIsBurnable
sets the _isBurnable
field to the value of the isBurnable
parameter
WithMatch
sets the match
parameter
WithCollectionBlacklist
is a function that takes an array of strings and returns an StatsUriParameterBuilder
object
WithCollectionWhitelist
is a function that takes an array of strings and returns an StatsUriParameterBuilder
object
This function takes an array of strings and joins them together with a comma.
WithLowerBound
sets the lower bound of the account_ids
parameter
WithUpperBound
sets the upper bound of the range of accounts to be returned
WithBefore
sets the _before
variable to the value of the before
parameter
WithAfter
sets the _after
variable to the value of the after
parameter
WithPage
sets the _page
variable to the value of the page
parameter
WithLimit
sets the _limit
variable to the value of the limit
parameter
This function sets the sort strategy for the query.
WithSort
is a function that takes a string as an argument and returns a StatsUriParameterBuilder
object.
It builds a query string based on the parameters that have been set.
A private variable that is used to store the value of the state parameter.
A nullable integer specfying max assets per listing.
A nullable integer specfying min assets per listing.
A nullable boolean specfying which sellerContracts to show.
A nullable boolean specfying accounts with contracts.
A nullable boolean specfying listing from sellers.
A nullable integer specifying the assetId.
A private variable that is used to store the value of the maketplace parameter.
A private variable that is used to store the value of the makerMarketplace parameter.
A private variable that is used to store the value of the takerMarketplace parameter.
A private variable that is used to store the value of the symbol parameter.
A private variable that is used to store the value of the seller parameter.
A private variable that is used to store the value of the buyer parameter.
A nullable integer specifying the min price.
A nullable integer specifying the max price.
A nullable integer specifying the minTemplateMint.
A nullable integer specifying the maxTemplateMint.
A private variable that is used to store the value of the owner parameter.
A nullable boolean specfying burned assets.
A private variable that is used to store the value of the collectionName parameter.
A private variable that is used to store the value of the schemaName parameter.
A private variable that is used to store the value of the templateId parameter.
A nullable boolean specfying transferable assets.
A nullable boolean specfying burnable assets.
A private variable that is used to store the value of the match parameter.
A private variable that is used to store the value of the collectionBlacklist parameter.
A private variable that is used to store the value of the collectionWhitelist parameter.
A private variable that is used to store the value of the ids parameter.
A private variable that is used to store the value of the lowerBound parameter.
A private variable that is used to store the value of the upperBound parameter.
A nullable integer specifying the previous timestamp.
A nullable integer specifying the next timestamp.
A nullable integer specifying the page.
A nullable integer specifying the limit of returned values.
A nullable enum specifying the sortStrategy.
Declaring a private variable called _sort.
Members
WithState
takes a list of State
s and converts them to a comma separated string of integers
Returns
A StatsUriParameterBuilder object.
WithMaxAssets
sets the _maxAssets
variable
Parameters
maxAssets
Max assets per listing returns.
Returns
The StatssUriParameterBuilder object.
WithMinAssets
sets the _minAssets
variable
Parameters
minAssets
Min assets per listing returns.
Returns
The StatsUriParameterBuilder object.
WithShowSellerContracts
sets the _showSellerContracts
field to the value of the showSellerContracts
parameter
Parameters
showSellerContracts
If false,no seller contracts are shown except if they are in contract whitelist.
Returns
The StatsUriParameterBuilder object.
WithContractWhitelist
sets the _contractWhitelist
field to the value of the contractWhitelist
parameter
Parameters
contractWhitelist
Shows accounts even if they are contracts.
Returns
The StatsUriParameterBuilder object.
WithSellerBlacklist
sets the _sellerBlacklist
field to the value of the sellerBlacklist
parameter
Parameters
sellerBlacklist
Doesnot show listing from sellers.
Returns
The StatsUriParameterBuilder object.
WithAssetId
sets the _assetId
variable to the value of the asset_id
parameter
Parameters
assetId
Shows the asset id in the offer.
Returns
The StatsUriParameterBuilder object.
WithMarketplace
sets the marketplace
parameter
Parameters
marketplace
It filters by all sales where a certain marketplace is either taker or maker marketplace.
Returns
The StatsUriParameterBuilder object.
WithMakerMarketplace
sets the makerMarketplace
parameter
Parameters
makerMarketplace
separate multiple with ",".
Returns
The StatsUriParameterBuilder object.
WithTakerMarketplace
sets the takerMarketplace
parameter
Parameters
takerMarketplace
separate multiple with ",".
Returns
The StatsUriParameterBuilder object.
WithSymbol
sets the symbol
parameter
Parameters
symbol
Token symbol.
Returns
The StatsUriParameterBuilder object.
WithSeller
sets the seller
parameter
Parameters
seller
Filter by seller.
Returns
The StatsUriParameterBuilder object.
WithBuyer
sets the buyer
parameter
Parameters
buyer
Filter by buyer.
Returns
The StatsUriParameterBuilder object.
WithMinPrice
sets the _minPrice
variable to the value of the minPrice
parameter
Parameters
minPrice
The lower price limit.
Returns
The StatsUriParameterBuilder object.
WithMaxPrice
sets the _maxPrice
variable to the value of the maxPrice
parameter
Parameters
maxPrice
The upper price limit.
Returns
The StatsUriParameterBuilder object.
WithMinTemplateMint
sets the _minTemplateMint
variable to the value of the minTemplateMint
parameter
Parameters
minTemplateMint
Min template mint.
Returns
The StatsUriParameterBuilder object.
WithMaxTemplateMint
sets the _maxTemplateMint
variable to the value of the maxTemplateMint
parameter
Parameters
maxTemplateMint
Max template mint.
Returns
The StatsUriParameterBuilder object.
WithOwner
sets the owner
parameter
Parameters
owner
The owner parameter is used to filter the results. The owner parameter is a string that is matched against the account name.
Returns
The StatsUriParameterBuilder object.
WithBurned
sets the _burned
field to the value of the burned
parameter
Parameters
burned
It filters for burned assets.
Returns
The StatsUriParameterBuilder object.
WithCollectionName
is a function that takes a string as a parameter and returns a StatsUriParameterBuilder
object.
Parameters
collectionName
The name of the collection you want to get stats for.
Returns
The StatsUriParameterBuilder object.
This function sets the schema name for the query.
Parameters
schemaName
The name of the schema to use.
Returns
The StatsUriParameterBuilder object.
It sets the value of the templateId variable.
Parameters
templateId
Results based on only transfers which cointain assets of template.
Returns
The StatsUriParameterBuilder object.
WithIsTransferable
sets the _isTransferable
field to the value of the isTransferable
parameter
Parameters
isTransferable
The isTransferable parameter filters for transferable assets.
Returns
The StatsUriParameterBuilder object.
WithIsBurnable
sets the _isBurnable
field to the value of the isBurnable
parameter
Parameters
isBurnable
Filters for burnable assets.
Returns
The StatsUriParameterBuilder object.
WithMatch
sets the match
parameter
Parameters
match
Search for input in asset name on template data.
Returns
The StatsUriParameterBuilder object.
WithCollectionBlacklist
is a function that takes an array of strings and returns an StatsUriParameterBuilder
object
Parameters
collectionBlacklist
A list of collections to exclude from the results.
Returns
The StatsUriParameterBuilder object.
WithCollectionWhitelist
is a function that takes an array of strings and returns an StatsUriParameterBuilder
object
Parameters
collectionWhitelist
A list of collections to include in the response.
Returns
The StatsUriParameterBuilder object.
This function takes an array of strings and joins them together with a comma.
Parameters
ids
A comma-separated list of account IDs.
Returns
The StatsUriParameterBuilder object.
WithLowerBound
sets the lower bound of the account_ids
parameter
Parameters
lowerBound
The lower bound of the primary key
Returns
The StatsUriParameterBuilder object.
WithUpperBound
sets the upper bound of the range of accounts to be returned
Parameters
upperBound
The upper bound of the primary key.
Returns
The StatsUriParameterBuilder object.
WithBefore
sets the _before
variable to the value of the before
parameter
Parameters
before
The previous values of the results to return.
Returns
The StatsUriParameterBuilder object.
WithAfter
sets the _after
variable to the value of the after
parameter
Parameters
after
The later values of the results to return.
Returns
The StatsUriParameterBuilder object.
WithPage
sets the _page
variable to the value of the page
parameter
Parameters
page
The page number of the results to return.
Returns
The StatsUriParameterBuilder object.
WithLimit
sets the _limit
variable to the value of the limit
parameter
Parameters
limit
The number of results to return.
Returns
The StatsUriParameterBuilder object.
This function sets the sort strategy for the query.
Parameters
SortStrategy
Returns
The builder object itself.
WithSort
is a function that takes a string as an argument and returns a StatsUriParameterBuilder
object.
Parameters
sort
The field to sort by.
Returns
A StatsUriParameterBuilder object.
It builds a query string based on the parameters that have been set.
Returns
A string that contains the parameters for the query.
A private variable that is used to store the value of the state parameter.
A nullable integer specfying max assets per listing.
A nullable integer specfying min assets per listing.
A nullable boolean specfying which sellerContracts to show.
A nullable boolean specfying accounts with contracts.
A nullable boolean specfying listing from sellers.
A nullable integer specifying the assetId.
A private variable that is used to store the value of the maketplace parameter.
A private variable that is used to store the value of the makerMarketplace parameter.
A private variable that is used to store the value of the takerMarketplace parameter.
A private variable that is used to store the value of the symbol parameter.
A private variable that is used to store the value of the seller parameter.
A private variable that is used to store the value of the buyer parameter.
A nullable integer specifying the min price.
A nullable integer specifying the max price.
A nullable integer specifying the minTemplateMint.
A nullable integer specifying the maxTemplateMint.
A private variable that is used to store the value of the owner parameter.
A nullable boolean specfying burned assets.
A private variable that is used to store the value of the collectionName parameter.
A private variable that is used to store the value of the schemaName parameter.
A private variable that is used to store the value of the templateId parameter.
A nullable boolean specfying transferable assets.
A nullable boolean specfying burnable assets.
A private variable that is used to store the value of the match parameter.
A private variable that is used to store the value of the collectionBlacklist parameter.
A private variable that is used to store the value of the collectionWhitelist parameter.
A private variable that is used to store the value of the ids parameter.
A private variable that is used to store the value of the lowerBound parameter.
A private variable that is used to store the value of the upperBound parameter.
A nullable integer specifying the previous timestamp.
A nullable integer specifying the next timestamp.
A nullable integer specifying the page.
A nullable integer specifying the limit of returned values.
A nullable enum specifying the sortStrategy.
Declaring a private variable called _sort.
Last updated