Withdraw
Last updated
Was this helpful?
Last updated
Was this helpful?
The builder is used to build the transaction.
transaction type, it's a opaque data type.
Get the encoded bytes used to create the L3 signature.
The ZkLinkSigner will sign the [Withdraw] transaction, replace the default signature in the transaction.
input:
Get L3 signature inside the transaction.
Check if the L3 signature in the Withdraw transaction is valid or not.
Create the Ethereum signature. input::
l2SourceTokenSymbol: the symbol string of l2 token, for example: "USD"
Create a submitter signature.
input:
Create a new transaction.
input: builder:
Get the transaction hash of transaction
Check if all the fields in are valid. For example, if the ChainId
is exceeded the maximum ChainId, it will return false.
signer:
ethSigner: the
signer:
Change the Withdraw transaction to the