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 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
resultFuture<TransferTokenResponse>Returns information about the tokens transferred

Fetch order history

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

Parameters

ParameterTypeDescription
queryOrderQueryQuery for fetching order history

Response

Success Response

Field NameTypeDescription
resultFuture<OrderHistoryResponse>Returns information about the order history

On this page