Type definition for the OmnicQuery.
- Amount
- BridgeMessage
- Fee
- Message
- PoolBaseInfo
- PoolsInfo
- Statistic
- getBridgeMessageResult
- getBridgeMessagesResult
- getMessageResult
- getStatisticResult
Ƭ Amount: Object
Type of Amount record
Name | Type |
---|---|
amount |
string |
decimals |
number |
name |
string |
symbol |
string |
token_addr |
string |
token_id |
number |
Ƭ BridgeMessage: Object
Type of bridge message record, you can find more detailed paranic bridge transaction information here.
Name | Type |
---|---|
amount |
string |
amount_min |
string |
block_number |
number |
body |
string |
destination |
number |
dst_chain_id |
number |
dst_tx_confirm_at |
number |
dst_tx_sent_at |
number |
fee |
string |
hash |
string |
leaf_index |
number |
method |
number |
nonce |
number |
origin |
number |
proof |
string |
raw |
string |
recipient |
string |
result |
string |
sender |
string |
src_chain_id |
number |
src_tx_confirm_at |
number |
status |
string |
timestamp |
string |
token_addr |
string |
tx_from |
string |
tx_recipient |
string |
tx_sender |
string |
txhash |
string |
Ƭ Fee: Object
Type of Fee record
Name | Type |
---|---|
chain_id |
number |
decimals |
number |
fee |
string |
symbol |
string |
Ƭ Message: Object
Type of Omnic message record.
Name | Type |
---|---|
block_number |
number |
body |
string |
destination |
number |
dst_tx_confirm_at |
number |
dst_tx_sent_at |
number |
hash |
string |
leaf_index |
number |
nonce |
number |
origin |
number |
proof |
string |
raw |
string |
recipient |
string |
result |
string |
sender |
string |
src_tx_confirm_at |
number |
status |
string |
txhash |
string |
Ƭ PoolBaseInfo: Object
Type of PoolBaseInfo
Name | Type |
---|---|
name |
string |
pool_id |
bigint |
symbol |
string |
Ƭ PoolsInfo: Object
Type of PoolsInfo
Name | Type |
---|---|
pools |
[PoolBaseInfo , [number , Token ][]][] |
router |
[number , string ][] |
Ƭ Statistic: Object
Type of statistic record.
Name | Type |
---|---|
amounts |
[Amount ] |
fees |
[Fee ] |
Ƭ getBridgeMessageResult: Object
Type of getBridgeMessage function result.
Name | Type |
---|---|
count |
number |
errors |
[string ] |
message |
BridgeMessage |
success |
boolean |
Ƭ getBridgeMessagesResult: Object
Type of Bridge Messages function result.
Name | Type |
---|---|
count |
number |
errors |
[string ] |
message |
[BridgeMessage ] |
success |
boolean |
Ƭ getMessageResult: Object
Type of getMessage function result.
Name | Type |
---|---|
errors |
[string ] |
message |
Message |
success |
boolean |
Ƭ getStatisticResult: Object
Type of getStatisticResult function result.
Name | Type |
---|---|
errors |
[string ] |
message |
Statistic |
success |
boolean |