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 |
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 |
Signature
NameLite |
Type | RequiredDefault |
Description |
|---|---|---|---|
signers |
string | True | The address (public key) of the wallet signing the payload |
rr |
string | True | Signature R |
ss1 |
string | True | Signature S |
vv |
integer | True | Signature V |
expiratione |
string | True | Timestamp after which this signature expires, expressed in unix nanoseconds. Must be capped at 30 days |
noncen |
integer | True | Users can randomly generate this value, used as a signature deconflicting key. ie. You can send the same exact instruction twice with different nonces. When the same nonce is used, the same payload will generate the same signature. Our system will consider the payload a duplicate, and ignore it. |
TransferType
| 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 |