Skip to main content

Bridge (bridge)

Cross-chain bridge endpoints and transfer events.

5 queryable tables. Every table supports the standard Hasura query arguments — where, order_by, limit, offset, distinct_on — plus an _aggregate field.

Access: Team and Premium (Playground on lower plans)

Tables

endpoint

ColumnPostgres typeGraphQL type
eidintegerInt
chain_nametextString
query GetEndpoint {
bridge_endpoint(limit: 10) {
eid
chain_name
}
}

oft

ColumnPostgres typeGraphQL type
oft_idbigintbigint
oft_evm_addresstextString
symboltextString
nametextString
decimalssmallintsmallint
is_trackedbooleanBoolean
first_seen_timestampbigintbigint
inserted_attimestamptztimestamptz
query GetOft {
bridge_oft(limit: 10) {
oft_id
oft_evm_address
symbol
name
}
}

receive_event

ColumnPostgres typeGraphQL type
consensus_timestampbigintbigint
log_indexintegerInt
oft_idbigintbigint
guidbyteabytea
to_evm_addressbyteabytea
src_eidintegerInt
amount_receivednumericnumeric
amount_received_decimalnumericnumeric
payer_account_idbigintbigint
transaction_hashbyteabytea
inserted_attimestamptztimestamptz
query GetReceiveEvent {
bridge_receive_event(limit: 10) {
consensus_timestamp
log_index
oft_id
guid
}
}

send_event

ColumnPostgres typeGraphQL type
consensus_timestampbigintbigint
log_indexintegerInt
oft_idbigintbigint
guidbyteabytea
from_evm_addressbyteabytea
dst_eidintegerInt
amount_sentnumericnumeric
amount_receivednumericnumeric
amount_sent_decimalnumericnumeric
payer_account_idbigintbigint
transaction_hashbyteabytea
inserted_attimestamptztimestamptz
query GetSendEvent {
bridge_send_event(limit: 10) {
consensus_timestamp
log_index
oft_id
guid
}
}

watermark

ColumnPostgres typeGraphQL type
job_nametextString
last_processed_nsbigintbigint
updated_attimestamptztimestamptz
query GetWatermark {
bridge_watermark(limit: 10) {
job_name
last_processed_ns
updated_at
}
}