2.6 KiB
!!! info "Transfer"
|NameLite|Type|RequiredDefault| Description |
|-|-|-|-|
|from_account_idfa |string|True|The account to transfer from|
|from_sub_account_idfs |string|True|The subaccount to transfer from (0 if transferring from main account)|
|to_account_idta |string|True|The account to deposit into|
|to_sub_account_idts |string|True|The subaccount to transfer to (0 if transferring to main account)|
|currencyc |Currency|True|The token currency to transfer|
|num_tokensnt |string|True|The number of tokens to transfer|
|signatures |Signature|True|The signature of the transfer|
|transfer_typett |TransferType|True|The type of transfer|
|transfer_metadatatm |string|True|The metadata of the transfer|
??? info "Currency"
The list of Currencies that are supported on the GRVT exchange
|Value| Description |
|-|-|
|`USD` = 1|the USD fiat currency|
|`USDC` = 2|the USDC token|
|`USDT` = 3|the USDT token|
|`ETH` = 4|the ETH token|
|`BTC` = 5|the BTC token|
|`SOL` = 6|the SOL token|
|`ARB` = 7|the ARB token|
|`BNB` = 8|the BNB token|
|`ZK` = 9|the ZK token|
|`POL` = 10|the POL token|
|`OP` = 11|the OP token|
|`ATOM` = 12|the ATOM token|
|`KPEPE` = 13|the 1000PEPE token|
|`TON` = 14|the TON token|
??? info "[Signature](/../../schemas/signature)"
|Name<br>`Lite`|Type|Required<br>`Default`| Description |
|-|-|-|-|
|signer<br>`s` |string|True|The address (public key) of the wallet signing the payload|
|r<br>`r` |string|True|Signature R|
|s<br>`s1` |string|True|Signature S|
|v<br>`v` |integer|True|Signature V|
|expiration<br>`e` |string|True|Timestamp after which this signature expires, expressed in unix nanoseconds. Must be capped at 30 days|
|nonce<br>`n` |integer|True|Users can randomly generate this value, used as a signature deconflicting key.<br>ie. You can send the same exact instruction twice with different nonces.<br>When the same nonce is used, the same payload will generate the same signature.<br>Our system will consider the payload a duplicate, and ignore it.|
??? info "[TransferType](/../../schemas/transfer_type)"
|Value| Description |
|-|-|
|`STANDARD` = 1|Standard transfer that has nothing to do with bridging|
|`FAST_ARB_DEPOSIT` = 2|Fast Arb Deposit Metadata type|
|`FAST_ARB_WITHDRAWAL` = 3|Fast Arb Withdrawal Metadata type|