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
| Column | Postgres type | GraphQL type |
|---|---|---|
eid | integer | Int |
chain_name | text | String |
query GetEndpoint {
bridge_endpoint(limit: 10) {
eid
chain_name
}
}
oft
| Column | Postgres type | GraphQL type |
|---|---|---|
oft_id | bigint | bigint |
oft_evm_address | text | String |
symbol | text | String |
name | text | String |
decimals | smallint | smallint |
is_tracked | boolean | Boolean |
first_seen_timestamp | bigint | bigint |
inserted_at | timestamptz | timestamptz |
query GetOft {
bridge_oft(limit: 10) {
oft_id
oft_evm_address
symbol
name
}
}
receive_event
| Column | Postgres type | GraphQL type |
|---|---|---|
consensus_timestamp | bigint | bigint |
log_index | integer | Int |
oft_id | bigint | bigint |
guid | bytea | bytea |
to_evm_address | bytea | bytea |
src_eid | integer | Int |
amount_received | numeric | numeric |
amount_received_decimal | numeric | numeric |
payer_account_id | bigint | bigint |
transaction_hash | bytea | bytea |
inserted_at | timestamptz | timestamptz |
query GetReceiveEvent {
bridge_receive_event(limit: 10) {
consensus_timestamp
log_index
oft_id
guid
}
}
send_event
| Column | Postgres type | GraphQL type |
|---|---|---|
consensus_timestamp | bigint | bigint |
log_index | integer | Int |
oft_id | bigint | bigint |
guid | bytea | bytea |
from_evm_address | bytea | bytea |
dst_eid | integer | Int |
amount_sent | numeric | numeric |
amount_received | numeric | numeric |
amount_sent_decimal | numeric | numeric |
payer_account_id | bigint | bigint |
transaction_hash | bytea | bytea |
inserted_at | timestamptz | timestamptz |
query GetSendEvent {
bridge_send_event(limit: 10) {
consensus_timestamp
log_index
oft_id
guid
}
}
watermark
| Column | Postgres type | GraphQL type |
|---|---|---|
job_name | text | String |
last_processed_ns | bigint | bigint |
updated_at | timestamptz | timestamptz |
query GetWatermark {
bridge_watermark(limit: 10) {
job_name
last_processed_ns
updated_at
}
}