Ws transfer feed data v1
Subscribes to a feed of transfer updates.
NameLite |
Type | RequiredDefault |
Description |
|---|---|---|---|
streams |
string | True | The websocket channel to which the response is sent |
selectors1 |
string | True | Primary selector |
sequence_numbersn |
string | True | A sequence number used to determine message order within a stream. - If useGlobalSequenceNumber is false, this returns the gateway sequence number, which increments by one locally within each stream and resets on gateway restarts.- If useGlobalSequenceNumber is true, this returns the global sequence number, which uniquely identifies messages across the cluster.- A single cluster payload can be multiplexed into multiple stream payloads. - To distinguish each stream payload, a dedupCounter is included.- The returned sequence number is computed as: cluster_sequence_number * 10^5 + dedupCounter. |
feedf |
TransferHistory | True | The transfer history matching the requested filters |
prev_sequence_numberps |
string | True | The previous sequence number that determines the message order |
TransferHistory
NameLite |
Type | RequiredDefault |
Description |
|---|---|---|---|
tx_idti |
string | True | The transaction ID of the transfer |
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 |
string | True | The token currency to transfer |
num_tokensnt |
string | True | The number of tokens to transfer |
signatures |
Signature | True | The signature of the transfer |
event_timeet |
string | True | The timestamp of the transfer in unix nanoseconds |
transfer_typett |
TransferType | True | The type of transfer |
transfer_metadatatm |
string | True | The metadata of the transfer |
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. Range: 0 to 4,294,967,295 (uint32) |
chain_idci |
string | True | Chain ID used in EIP-712 domain. Zero value fallbacks to GRVT Chain ID. |
TransferType
| Value | Description |
|---|---|
UNSPECIFIED = 0 |
Deprecated: use standard instead. Legacy value for transfers created before transfer types were introduced. |
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 |
NON_NATIVE_BRIDGE_DEPOSIT = 4 |
Transfer type for non native bridging deposit |
NON_NATIVE_BRIDGE_WITHDRAWAL = 5 |
Transfer type for non native bridging withdrawal |
ADHOC_INCENTIVE = 6 |
Transfer type for adhoc incentive |
REFERRAL_INCENTIVE = 7 |
Transfer type for referral incentive |
TRADING_DEPOSIT_YIELD_INCENTIVE = 8 |
Transfer type for trading deposit yield incentive |
WalletType
| Value | Description |
|---|---|
FUNDING = 1 |
Funding wallet |
SPOT = 2 |
Spot wallet |
FUTURES = 3 |
Futures wallet |
WalletType
| Value | Description |
|---|---|
FUNDING = 1 |
Funding wallet |
SPOT = 2 |
Spot wallet |
FUTURES = 3 |
Futures wallet |