TransferFromRequest

data class TransferFromRequest(val chain: String, val token: String, val fromAddress: String, val toAddress: String, val amount: String)

Request model for transferring tokens using delegated authority.

The chain and token fields are used as URL path parameters, while fromAddress, toAddress, and amount are sent in the POST body.

Note: This must be called from the delegate's account (the address that was approved during the approval step).

Parameters

chain

CAIP-2 chain ID (e.g., "eip155:11155111").

token

Token symbol or address (e.g., "USDC" or a contract address).

fromAddress

The owner's address (who approved the delegation).

toAddress

The recipient's address.

amount

The amount to transfer (e.g., "1.0").

Constructors

Link copied to clipboard
constructor(chain: String, token: String, fromAddress: String, toAddress: String, amount: String)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard