pub struct GetOwnershipTokensParams {Show 14 fields
pub blockchain_descriptor: Option<String>,
pub vault_account_ids: Option<String>,
pub ncw_id: Option<String>,
pub ncw_account_ids: Option<String>,
pub wallet_type: Option<String>,
pub ids: Option<String>,
pub collection_ids: Option<String>,
pub page_cursor: Option<String>,
pub page_size: Option<f64>,
pub sort: Option<Vec<String>>,
pub order: Option<String>,
pub status: Option<String>,
pub search: Option<String>,
pub spam: Option<String>,
}
Expand description
struct for passing parameters to the method [get_ownership_tokens
]
Fields§
§blockchain_descriptor: Option<String>
Blockchain descriptor filter
vault_account_ids: Option<String>
A comma separated list of Vault Account IDs. Up to 100 are allowed in a single request. This field will be ignored when walletType=END_USER_WALLET or ncwId is provided.
ncw_id: Option<String>
Non-Custodial Wallet ID
ncw_account_ids: Option<String>
A comma separated list of Non-Custodial account IDs. Up to 100 are allowed in a single request. This field will be ignored when walletType=VAULT_ACCOUNT or ncwId is not provided.
wallet_type: Option<String>
Wallet type, it can be VAULT_ACCOUNT
or END_USER_WALLET
ids: Option<String>
A comma separated list of NFT IDs. Up to 100 are allowed in a single request.
collection_ids: Option<String>
A comma separated list of collection IDs. Up to 100 are allowed in a single request.
page_cursor: Option<String>
Page cursor to fetch
page_size: Option<f64>
Items per page (max 100)
sort: Option<Vec<String>>
Sort by param, it can be one param or a list of params separated by comma
order: Option<String>
Order direction, it can be ASC
for ascending or DESC
for descending
status: Option<String>
Token ownership status
search: Option<String>
Search owned tokens and their collections. Possible criteria for search: token name and id within the contract/collection, collection name, blockchain descriptor and name.
spam: Option<String>
Token ownership spam status.
Implementations§
Source§impl GetOwnershipTokensParams
impl GetOwnershipTokensParams
Sourcepub fn builder() -> GetOwnershipTokensParamsBuilder
pub fn builder() -> GetOwnershipTokensParamsBuilder
Create an instance of GetOwnershipTokensParams
using the builder syntax
Trait Implementations§
Source§impl Clone for GetOwnershipTokensParams
impl Clone for GetOwnershipTokensParams
Source§fn clone(&self) -> GetOwnershipTokensParams
fn clone(&self) -> GetOwnershipTokensParams
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more