Trait TokenizationApi
Source pub trait TokenizationApi: Send + Sync {
// Required methods
fn burn_collection_token<'life0, 'async_trait>(
&'life0 self,
params: BurnCollectionTokenParams,
) -> Pin<Box<dyn Future<Output = Result<CollectionBurnResponseDto, Error<BurnCollectionTokenError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn create_new_collection<'life0, 'async_trait>(
&'life0 self,
params: CreateNewCollectionParams,
) -> Pin<Box<dyn Future<Output = Result<CollectionLinkDto, Error<CreateNewCollectionError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn fetch_collection_token_details<'life0, 'async_trait>(
&'life0 self,
params: FetchCollectionTokenDetailsParams,
) -> Pin<Box<dyn Future<Output = Result<CollectionLinkDto, Error<FetchCollectionTokenDetailsError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_collection_by_id<'life0, 'async_trait>(
&'life0 self,
params: GetCollectionByIdParams,
) -> Pin<Box<dyn Future<Output = Result<CollectionLinkDto, Error<GetCollectionByIdError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_linked_collections<'life0, 'async_trait>(
&'life0 self,
params: GetLinkedCollectionsParams,
) -> Pin<Box<dyn Future<Output = Result<GetLinkedCollectionsPaginatedResponse, Error<GetLinkedCollectionsError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_linked_token<'life0, 'async_trait>(
&'life0 self,
params: GetLinkedTokenParams,
) -> Pin<Box<dyn Future<Output = Result<TokenLinkDto, Error<GetLinkedTokenError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_linked_tokens<'life0, 'async_trait>(
&'life0 self,
params: GetLinkedTokensParams,
) -> Pin<Box<dyn Future<Output = Result<TokensPaginatedResponse, Error<GetLinkedTokensError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn issue_new_token<'life0, 'async_trait>(
&'life0 self,
params: IssueNewTokenParams,
) -> Pin<Box<dyn Future<Output = Result<TokenLinkDto, Error<IssueNewTokenError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn link<'life0, 'async_trait>(
&'life0 self,
params: LinkParams,
) -> Pin<Box<dyn Future<Output = Result<TokenLinkDto, Error<LinkError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn mint_collection_token<'life0, 'async_trait>(
&'life0 self,
params: MintCollectionTokenParams,
) -> Pin<Box<dyn Future<Output = Result<CollectionMintResponseDto, Error<MintCollectionTokenError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn unlink<'life0, 'async_trait>(
&'life0 self,
params: UnlinkParams,
) -> Pin<Box<dyn Future<Output = Result<(), Error<UnlinkError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn unlink_collection<'life0, 'async_trait>(
&'life0 self,
params: UnlinkCollectionParams,
) -> Pin<Box<dyn Future<Output = Result<(), Error<UnlinkCollectionError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}