Okto Embedded WalletUsing Embedded Wallet
Transferring Non-Fungible Tokens
Learn how to transfer NFTs using the Okto SDK.
Methods Overview
Methods | Description |
---|---|
async transferNft | Transfer NFTs based on the provided data |
async transferNftWithJobStatus | Transfer NFTs and provides job status updates based on the provided data |
async getNftOrderDetails | Fetches details of a specific NFT order based on the provided query |
Transfer NFTs
async transferNft(data)
transfers a NFT based on the provided data.
Parameters
Parameter | Type | Description |
---|---|---|
data | TransferNft | Data being provided for transferring the NFT |
Response
Success Response
Field Name | Type | Description |
---|---|---|
result | Promise<TransferNftData> | Returns information about the NFT transferred |
Transfer NFTs with job status
async transferNftWithJobStatus(data)
transfers NFTs with job status updates based on the provided data.
Parameters
Parameter | Type | Description |
---|---|---|
data | TransferNft | Data being provided for transferring the tokens |
Response
Success Response
Field Name | Type | Description |
---|---|---|
result | Promise<NftOrderDetails> | Returns information about the order |
Get NFT order details
async getNftOrderDetails(query)
fetches details of a specific NFT order based on the provided query.
Parameters
Parameter | Type | Description |
---|---|---|
query | Partial<NftOrderDetailsQuery> | Query provided for fetching the NFT order details |
Response
Success Response
Field Name | Type | Description |
---|---|---|
result | Promise<NftOrderDetails> | Returns information about the order |