Transfer Quote
Transfer USDC between subaccounts under the same wallet.
Last updated
Transfer USDC between subaccounts under the same wallet.
Last updated
60 transfer quotes/min or 10 every 10 seconds per wallet. (weight=10)
A max of 5 transfer quotes to new recipients (subaccounts) every 24hrs.
Note: Transferring quote to a subaccount that doesn't exist, creates the subaccount.
tx
object
Yes
tx.sender
string
Yes
Hex string representing the subaccount's 32 bytes (address + subaccount name) of the tx sender.
tx.recipient
string
Yes
Hex string representing the subaccount's 32 bytes (address + subaccount name) of the quote recipient.
tx.amount
string
Yes
tx.nonce
string
Yes
signature
string
Yes
The solidity typed data struct that needs to be signed is:
sender
: a bytes32
sent as a hex string; includes the address and the subaccount identifier.
recipient
: a bytes32
sent as a hex string; includes the address and the subaccount identifier.
amount
: the amount of quote to transfer, sent as an x18
string.
Notes:
If you are transferring 5 USDC
, must specify 5000000000000000000
i.e 5 USDC * 1e18.
Transfer amount should be >= 5 USDC.
Note: for signing you should always use the data type specified in the solidity struct which might be different from the type sent in the request e.g: nonce
should be an uint64
for Signing but should be sent as a string
in the final payload.
Transfer Quote transaction object. See section for details on the transaction fields.
The amount of USDC to transfer, denominated in x18
. Transfr amount must be >= 5 USDC
. See section for more details.
This is an incrementing nonce, can be obtained using the query.
Hex string representing hash of the signed transaction. See section for more details.
See more details and examples in our page.
nonce
: the tx_nonce
. This is an incrementing nonce, can be obtained using the query.