pub trait NftsApi: Send + Sync {
// Required methods
fn get_nft<'life0, 'async_trait>(
&'life0 self,
params: GetNftParams,
) -> Pin<Box<dyn Future<Output = Result<TokenResponse, Error<GetNftError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_nfts<'life0, 'async_trait>(
&'life0 self,
params: GetNftsParams,
) -> Pin<Box<dyn Future<Output = Result<GetNftsResponse, Error<GetNftsError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_ownership_tokens<'life0, 'async_trait>(
&'life0 self,
params: GetOwnershipTokensParams,
) -> Pin<Box<dyn Future<Output = Result<GetOwnershipTokensResponse, Error<GetOwnershipTokensError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn list_owned_collections<'life0, 'async_trait>(
&'life0 self,
params: ListOwnedCollectionsParams,
) -> Pin<Box<dyn Future<Output = Result<ListOwnedCollectionsResponse, Error<ListOwnedCollectionsError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn list_owned_tokens<'life0, 'async_trait>(
&'life0 self,
params: ListOwnedTokensParams,
) -> Pin<Box<dyn Future<Output = Result<ListOwnedTokensResponse, Error<ListOwnedTokensError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn refresh_nft_metadata<'life0, 'async_trait>(
&'life0 self,
params: RefreshNftMetadataParams,
) -> Pin<Box<dyn Future<Output = Result<(), Error<RefreshNftMetadataError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn update_ownership_tokens<'life0, 'async_trait>(
&'life0 self,
params: UpdateOwnershipTokensParams,
) -> Pin<Box<dyn Future<Output = Result<(), Error<UpdateOwnershipTokensError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn update_token_ownership_status<'life0, 'async_trait>(
&'life0 self,
params: UpdateTokenOwnershipStatusParams,
) -> Pin<Box<dyn Future<Output = Result<(), Error<UpdateTokenOwnershipStatusError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn update_tokens_ownership_spam<'life0, 'async_trait>(
&'life0 self,
params: UpdateTokensOwnershipSpamParams,
) -> Pin<Box<dyn Future<Output = Result<(), Error<UpdateTokensOwnershipSpamError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn update_tokens_ownership_status<'life0, 'async_trait>(
&'life0 self,
params: UpdateTokensOwnershipStatusParams,
) -> Pin<Box<dyn Future<Output = Result<(), Error<UpdateTokensOwnershipStatusError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Required Methods§
Sourcefn get_nft<'life0, 'async_trait>(
&'life0 self,
params: GetNftParams,
) -> Pin<Box<dyn Future<Output = Result<TokenResponse, Error<GetNftError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_nft<'life0, 'async_trait>(
&'life0 self,
params: GetNftParams,
) -> Pin<Box<dyn Future<Output = Result<TokenResponse, Error<GetNftError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
GET /nfts/tokens/{id}
Returns the requested token data. Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor.
Sourcefn get_nfts<'life0, 'async_trait>(
&'life0 self,
params: GetNftsParams,
) -> Pin<Box<dyn Future<Output = Result<GetNftsResponse, Error<GetNftsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_nfts<'life0, 'async_trait>(
&'life0 self,
params: GetNftsParams,
) -> Pin<Box<dyn Future<Output = Result<GetNftsResponse, Error<GetNftsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
GET /nfts/tokens
Returns the requested tokens data. Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor.
Sourcefn get_ownership_tokens<'life0, 'async_trait>(
&'life0 self,
params: GetOwnershipTokensParams,
) -> Pin<Box<dyn Future<Output = Result<GetOwnershipTokensResponse, Error<GetOwnershipTokensError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_ownership_tokens<'life0, 'async_trait>(
&'life0 self,
params: GetOwnershipTokensParams,
) -> Pin<Box<dyn Future<Output = Result<GetOwnershipTokensResponse, Error<GetOwnershipTokensError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
GET /nfts/ownership/tokens
Returns all tokens and their data in your workspace. Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor.
Sourcefn list_owned_collections<'life0, 'async_trait>(
&'life0 self,
params: ListOwnedCollectionsParams,
) -> Pin<Box<dyn Future<Output = Result<ListOwnedCollectionsResponse, Error<ListOwnedCollectionsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn list_owned_collections<'life0, 'async_trait>(
&'life0 self,
params: ListOwnedCollectionsParams,
) -> Pin<Box<dyn Future<Output = Result<ListOwnedCollectionsResponse, Error<ListOwnedCollectionsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
GET /nfts/ownership/collections
Returns all collections in your workspace. Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor.
Sourcefn list_owned_tokens<'life0, 'async_trait>(
&'life0 self,
params: ListOwnedTokensParams,
) -> Pin<Box<dyn Future<Output = Result<ListOwnedTokensResponse, Error<ListOwnedTokensError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn list_owned_tokens<'life0, 'async_trait>(
&'life0 self,
params: ListOwnedTokensParams,
) -> Pin<Box<dyn Future<Output = Result<ListOwnedTokensResponse, Error<ListOwnedTokensError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
GET /nfts/ownership/assets
Returns all owned distinct tokens (for your workspace) and their data in your workspace. Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor.
Sourcefn refresh_nft_metadata<'life0, 'async_trait>(
&'life0 self,
params: RefreshNftMetadataParams,
) -> Pin<Box<dyn Future<Output = Result<(), Error<RefreshNftMetadataError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn refresh_nft_metadata<'life0, 'async_trait>(
&'life0 self,
params: RefreshNftMetadataParams,
) -> Pin<Box<dyn Future<Output = Result<(), Error<RefreshNftMetadataError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
PUT /nfts/tokens/{id}
Updates the latest token metadata. Learn more about Fireblocks NFT management in the following guide. Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor.
Sourcefn update_ownership_tokens<'life0, 'async_trait>(
&'life0 self,
params: UpdateOwnershipTokensParams,
) -> Pin<Box<dyn Future<Output = Result<(), Error<UpdateOwnershipTokensError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn update_ownership_tokens<'life0, 'async_trait>(
&'life0 self,
params: UpdateOwnershipTokensParams,
) -> Pin<Box<dyn Future<Output = Result<(), Error<UpdateOwnershipTokensError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
PUT /nfts/ownership/tokens
Updates all tokens and balances per blockchain and vault account. Learn more about Fireblocks NFT management in the following guide. Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor.
Sourcefn update_token_ownership_status<'life0, 'async_trait>(
&'life0 self,
params: UpdateTokenOwnershipStatusParams,
) -> Pin<Box<dyn Future<Output = Result<(), Error<UpdateTokenOwnershipStatusError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn update_token_ownership_status<'life0, 'async_trait>(
&'life0 self,
params: UpdateTokenOwnershipStatusParams,
) -> Pin<Box<dyn Future<Output = Result<(), Error<UpdateTokenOwnershipStatusError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
PUT /nfts/ownership/tokens/{id}/status
Updates token status for a workspace, in all workspace vaults. Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor.
Sourcefn update_tokens_ownership_spam<'life0, 'async_trait>(
&'life0 self,
params: UpdateTokensOwnershipSpamParams,
) -> Pin<Box<dyn Future<Output = Result<(), Error<UpdateTokensOwnershipSpamError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn update_tokens_ownership_spam<'life0, 'async_trait>(
&'life0 self,
params: UpdateTokensOwnershipSpamParams,
) -> Pin<Box<dyn Future<Output = Result<(), Error<UpdateTokensOwnershipSpamError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
PUT /nfts/ownership/tokens/spam
Updates tokens spam property for a workspace’s token ownerships, in all vault accounts. Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor.
Sourcefn update_tokens_ownership_status<'life0, 'async_trait>(
&'life0 self,
params: UpdateTokensOwnershipStatusParams,
) -> Pin<Box<dyn Future<Output = Result<(), Error<UpdateTokensOwnershipStatusError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn update_tokens_ownership_status<'life0, 'async_trait>(
&'life0 self,
params: UpdateTokensOwnershipStatusParams,
) -> Pin<Box<dyn Future<Output = Result<(), Error<UpdateTokensOwnershipStatusError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
PUT /nfts/ownership/tokens/status
Updates tokens status for a workspace, in all vault accounts. Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor.