Withdraw
Last updated
Last updated
type
1 byte with value 0x03
toChainId
1 byte
accountId
4 bytes
subAccountId
1 byte
to
32 bytes, extend to 32 bytes with 0x00
prefix
l2SourceToken
2 bytes
l1TargetToken
2 bytes
amount
16 bytes, refer to the amount
pack method in BigUint pack algorithm
fee
2 bytes, refer to the fee
pack method in BigUint pack algorithm
nonce
4 bytes
withdrawToL1
1 byte
withdrawFeeRatio
2 bytes
callData
No limit, be used to send to layer1 to call a smart contract
ts
4 bytes