Withdraw

Withdraw transaction type.

Withdraw(
	int accountId,
	int subAccountId,
	int toChainId,
	String toAddress,
	int l2SourceToken,
	int l1TargetToken,
	String amount,
	String? callData,
	String fee,
	int nonce,
	bool withdrawToL1,
	int withdrawFeeRatio,
	int? ts,
)

func getEthSignMsg

String getEthSignMsg(String tokenSymbol)

Get the Ethereum sign message

func sign

void sign(ZkLinkSigner zkLinkSigner)

Sign transaction with given ZkLinkSigner

func toJson

String toJson()

Get the json str of Withdraw

Last updated