transferTokens
Function: transferTokens()
function transferTokens<ThrowOnError>(options: OmitKeys<RequestOptions<ThrowOnError>, "body" | "url"> & TransferTokensData & Pick<RequestOptions<ThrowOnError>, "headers">): RequestResult<TokenTransaction, ErrorResponse, ThrowOnError>
Defined in: packages/api/src/client/sdk.gen.ts:137
Transfer tokens from one address to another.
The transfer
endpoint allows users to transfer tokens of a fungible token on the Mina blockchain from one address to another.
The sender must have sufficient balance and appropriate permissions to perform the transfer.
Type Parameters
• ThrowOnError extends boolean
= false
Parameters
options
OmitKeys
<RequestOptions
<ThrowOnError
>, "body"
| "url"
> & TransferTokensData
& Pick
<RequestOptions
<ThrowOnError
>, "headers"
>
Returns
RequestResult
<TokenTransaction
, ErrorResponse
, ThrowOnError
>
Updated 10 days ago