ForcedExit
Forced withdraw from Layer3
type
String
yes
The value is "ForcedExit"
toChainId
yes
The target chain of the withdrawal
initiatorAccountId
yes
Account ID of the transaction initiator
initiatorSubAccountId
yes
Subaccount ID of the transaction initiator
initiatorNonce
yes
Nonce of the transaction initiator's subaccount
target
String
yes
The account address of the forced withdraw, the token on Layer 1 is also sent to this address
targetSubAccountId
yes
Subaccount ID of the account of the forced withdraw
l2SourceToken
yes
The token deducted from the account of the forced withdraw
l1TargetToken
yes
This token sent to the to_address on L1
exitAmount
yes
Withdrawal amount
withdrawToL1
u8
yes
1: true, 0: false. withdraw to L1 or not
ts
u32
yes
Timestamp of the API call, used as front-end request id to generate transaction hash
signature
yes
the public key hash corresponding to the signature must be aligned with the initiator account
For example:
sign ForcedExit
For more detail please refer to Golang example in SDK
Last updated