Skip to content

Latest commit

 

History

History
243 lines (171 loc) · 4.61 KB

OmnicQuery-1.md

File metadata and controls

243 lines (171 loc) · 4.61 KB

Namespace: OmnicQuery

Type definition for the OmnicQuery.

Table of contents

Type Aliases

Interfaces

Type Aliases

Amount

Ƭ Amount: Object

Type of Amount record

Type declaration

Name Type
amount string
decimals number
name string
symbol string
token_addr string
token_id number

BridgeMessage

Ƭ BridgeMessage: Object

Type of bridge message record, you can find more detailed paranic bridge transaction information here.

Type declaration

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

Ƭ Fee: Object

Type of Fee record

Type declaration

Name Type
chain_id number
decimals number
fee string
symbol string

Message

Ƭ Message: Object

Type of Omnic message record.

Type declaration

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

Ƭ PoolBaseInfo: Object

Type of PoolBaseInfo

Type declaration

Name Type
name string
pool_id bigint
symbol string

PoolsInfo

Ƭ PoolsInfo: Object

Type of PoolsInfo

Type declaration

Name Type
pools [PoolBaseInfo, [number, Token][]][]
router [number, string][]

Statistic

Ƭ Statistic: Object

Type of statistic record.

Type declaration

Name Type
amounts [Amount]
fees [Fee]

getBridgeMessageResult

Ƭ getBridgeMessageResult: Object

Type of getBridgeMessage function result.

Type declaration

Name Type
count number
errors [string]
message BridgeMessage
success boolean

getBridgeMessagesResult

Ƭ getBridgeMessagesResult: Object

Type of Bridge Messages function result.

Type declaration

Name Type
count number
errors [string]
message [BridgeMessage]
success boolean

getMessageResult

Ƭ getMessageResult: Object

Type of getMessage function result.

Type declaration

Name Type
errors [string]
message Message
success boolean

getStatisticResult

Ƭ getStatisticResult: Object

Type of getStatisticResult function result.

Type declaration

Name Type
errors [string]
message Statistic
success boolean