Transfer
Last updated
Was this helpful?
Last updated
Was this helpful?
Builder is used to build transaction
transaction type, it's a opaque data type.
Create a new transaction.
Get the encoded bytes used to create the L3 signature.
Check if all the fields in Withdraw are valid. For example, if the ChainId
is exceeded the maximum ChainId, it will return false.
input:
Check if the L3 signature in the transaction is valid or not.
Get the message that used to create the Ethereum signature.
input:
tokenSymbol: the symbol string of the token, for example, USDT
Create the submitter signature.
input:
Get the signature in the transaction.
Get the transaction hash of transaction.
Get the json string of the transaction.
Sign the Transfer transaction with the , L1 signature and L3 signature will be created.
signer:
Create Ethereum signature, returns a
ethSigner:
signer:
Change the transaction to the