Okto Embedded WalletUsing Embedded Wallet

Transferring Fungible Tokens

Learn how to transfer tokens using the Okto SDK.

Methods Overview

MethodsDescription
async transferTokensTransfer tokens based on the provided data
async transferTokensWithJobStatusTransfer tokens and provides job status updates based on the provided data
async orderHistoryFetch order history

Transfer tokens

async transferTokens(data) transfers tokens based on the provided data.

Parameters

ParameterTypeDescription
dataTransferTokensData being provided for transferring the tokens

Response

Success Response

Field NameTypeDescription
resultPromise<TransferTokensData>Returns information about the tokens transferred

Transfer tokens with job status

async transferTokens(data) transfers tokens with job status updates based on the provided data.

Parameters

ParameterTypeDescription
dataTransferTokensData being provided for transferring the tokens

Response

Success Response

Field NameTypeDescription
resultPromise<Order>Returns information about the order

Fetch order history

async orderHistory(query) fetches the order history based on the provided query.

Parameters

ParameterTypeDescription
queryPartial<OrderQuery>Query for fetching order history

Response

Success Response

Field NameTypeDescription
resultPromise<OrderData>Returns information about the order history

On this page