Invariant

The Invariant protocol is a peer-to-peer system for exchanging assets on the Solana blockchain.

invariant.txns

This table has similar schema as of Solana transactions table

invariant.parsed

The table contains the parsed instructions data for invariant. Data related to instruction type, executing account, account arguments, arguments, etc. is available here.

Column NameColumn TypeDescription

block_date

date

Event date

block_time

timestamp

The (estimated) time this block was produced

block_slot

bigint

This block’s slot index in the ledger

dapp

string

Solana program address

inner_instruction_index

int

The order of inner instruction of an instruction in a txns

input_accounts

array<string>

Ordered list of accounts to pass to the program

instruction_index

int

The order of the instruction in a txns

instruction_type

string

Name of the function of a Solana program invoked via an instruction

is_inner_instruction

boolean

Whether the respective instruction of a txns has an inner instruction

tx_id

string

The first signature in the transaction

args

<STRUCT>

The arguments passed to the invoked function. Generated after decoding the instructions data parameter

Some columns in the above table needs to be explained a bit for better understanding. Let's go into what each one of them contains.

input accounts

FieldColumn Type

accountX

string

accountY

string

admin

string

feeTier

string

lastPosition

string

lowerTick

string

owner

string

payer

string

pool

string

position

string

positionList

string

programAuthority

string

removedPosition

string

rent

string

reserveX

string

reserveY

string

state

string

systemProgram

string

tick

string

tickmap

string

tokenProgram

string

tokenX

string

tokenY

string

upperTick

string

args

FieldData Type

amount

bigint

byAmountIn

bool

index

bigint

STRUCT

lowerTickIndex

int

STRUCT

STRUCT

sqrtPriceLimit

double

tickSpacing

int

upperTickIndex

int

xToY

bool

liquidityDelta

FieldData Type

v

double

slippageLimitLower

FieldData Type

v

double

slippageLimitUpper

FieldData Type

v

double

Last updated