Layer 2 block info
EndPoint
Header
X-API-KEY
ApiKey
"HlkcGxbqBeaF76j4rvPaOasyfPwnkQ6B6DQ6THZWbvrAGxzEdulXQvOKLrRWZLnN"
Request
id
block id number
200
Response
blockId
The num index of the block
1235
blockSize
The block size
64
exchange
The exchange address
"0xbbbbca6a90 1c926f240b89 eacb641d8aec 7aeafd"
txHash
The txHash of the block
"0xf7c9323511 86c3a9053f31 3eefa16209c0 18f7f1dba8aa 8ca7100400f7 c31085"
status
The status of the block, WAIT_SUBMIT or SUBMITTED or COMPLETED
"COMPLETED"
createdAt
The creation time of the block
1627904776000
Model
BlockTransaction
txType
The txType of the transaction, one in [Noop,Deposit,Withdraw,Transfer,SpotTrade,AccountUpdate,AmmUpdate,JoinAmm,ExitAmm,SignatureVerification,NftMint,NftData] Allowable : ['Noop', 'Deposit', 'Withdraw', 'Transfer', 'SpotTrade', 'AccountUpdate', 'AmmUpdate', 'JoinAmm', 'ExitAmm', 'SignatureVerification', 'NftMint', 'NftData']
"Deposit"
"Withdraw"
"Transfer"
"SpotTrade" "AccountUpdate" "AmmUpdate"
"JoinAmm"
"ExitAmm" "SignatureVerification" "NftMint" "NftData"
accountId
[Optional] The accountId of the transaction
10006
owner
[Optional] The owner of the transaction
"0xbbbbca6a90 1c926f240b89 eacb641d8aec 7aeafd"
validUntil
[Optional] The validUntil of the transaction
1627904776
toAccountId
[Optional] The toAccountId of the transaction if tx has a destination account
10006
toAccountAddress
[Optional] The toAccountAddress of the transaction if tx has a destination account
"0xbbbbca6a901c926f240b89eacb641d8aec7aeafd"
storageId
[Optional] The storageId of the transaction
2
valid
[Optional] The validness of the transaction
"false"
nonce
[Optional] The nonce of the transaction if it uses nonce
65
minterAccountId
[Optional] The minterAccountId of the transaction if its a mint tx
10008
minter
[Optional] The minter of the transaction if its a mint tx
"0xbbbbca6a901c926f240b89eacb641d8aec7aeafd"
nftToken
[Optional] The nftToken of the transaction if its a NFT related tx
/
nftType
[Optional] The nftType of the transaction if its a mint tx
"ERC1155"
fromAddress
[Optional] from address
"0xbbbbca6a901c926f240b89eacb641d8aec7aeafd"
toAddress
[Optional] to address
"0xbbbbca6a901c926f240b89eacb641d8aec7aeafd"
Token
tokenId
[Optional] The tokenId of the token
"6"
tokenAddress
[Optional] The token Address
"0xbbbbca6a901c926f240b89eacb641d8aec7aeafd"
nftData
[Optional] The nftData of the NFT token
"0xf7c932351186c3a9053f313eefa16209c018f7f1dba8aa8ca7100400f7c31085"
nftId
[Optional] The NFT_ID of the NFT token
"0xf7c932351186c3a9053f313eefa16209c018f7f1dba8aa8ca7100400f7c31085"
amount
[Optional] The token amount
"100"
Order
storageID
The storageId of the order
6
accountID
The accountID of the order
10006
amountS
The amountS of the order
"100"
amountB
The amountB of the order
"600"
tokenS
The tokenS of the order
6
tokenB
The tokenB of the order
32768
validUntil
The validUntil of the order
1235123512
taker
The taker of the order
"0xbbbbca6a901c926f240b89eacb641d8aec7aeafd"
feeBips
The feeBips of the order
60
isAmm
If the order isAmm
"true"
nftData
The nftData of the order, if its NFT order
"0xbbbbca6a901c926f240b89eacb641d8aec7aeafd"
fillS
The fillS of the order
500
Sample code
Request
Response
Last updated