DESCRIPTION | DATA_TYPE | HEX_LENGHT | HEX_DATA | |
---|---|---|---|---|
1 | function signature | na | 16 | 4403ff1a855b93fe |
2 | timestamp | i64 | 16 | f315846600000000 |
3 | recordId | u64 | 16 | 8038000000000000 |
4 | market index | u16 | 4 | 0000 |
5 | funding rate | i64 | 16 | 6851100000000000 |
6 | funding rate long | i128 | 32 | .68511000000000000000000000000000 |
7 | funding rate short | i128 | 32 | .68511000000000000000000000000000 |
8 | cumulative funding long | i128 | 32 | cfc12fae080000000000000000000000 |
9 | cumulative funding short | i128 | 32 | 5466e5a1080000000000000000000000 |
10 | oracle price TWAP | u64 | 16 | d757de0800000000 |
11 | market price TWAP | u64 | 16 | dc47de0800000000 |
12 | period revenue | i64 | 16 | 9a5b8a1700000000 |
13 | base asset amount with amm | i128 | 32 | cc25ebfdffffffffffffffffffffffff |
14 | base asset amount with unsettled LP | i128 | 32 | 349451deffffffffffffffffffffffff |
flyingfishDecoding Drift Funding Data Rate - Instruction Hex data breakdown
Updated 2025-04-17
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
›
⌄
-- forked from Decoding Jupiter Swap Data - Instruction Hex data breakdown @ https://flipsidecrypto.xyz/studio/queries/dd54b96a-f461-4890-b87a-f8758f66372a
select
*
from
(
values
('function signature', 'na', 16, '4403ff1a855b93fe')
, ('timestamp', 'i64', 16, 'f315846600000000')
, ('recordId', 'u64', 16, '8038000000000000')
, ('market index', 'u16', 4, '0000')
, ('funding rate', 'i64', 16, '6851100000000000')
, ('funding rate long', 'i128', 32, '.' || '68511000000000000000000000000000')
, ('funding rate short', 'i128', 32, '.' || '68511000000000000000000000000000')
, ('cumulative funding long', 'i128', 32, 'cfc12fae080000000000000000000000')
, ('cumulative funding short', 'i128', 32, '5466e5a1080000000000000000000000')
, ('oracle price TWAP', 'u64', 16, 'd757de0800000000')
, ('market price TWAP', 'u64', 16, 'dc47de0800000000')
, ('period revenue', 'i64', 16, '9a5b8a1700000000')
, ('base asset amount with amm', 'i128', 32, 'cc25ebfdffffffffffffffffffffffff')
, ('base asset amount with unsettled LP', 'i128', 32, '349451deffffffffffffffffffffffff')
t(description, data_type, hex_lenght, hex_data)
)
Last run: 2 months ago
14
803B
1s