Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 610 Bytes

File metadata and controls

40 lines (30 loc) · 610 Bytes

type Transfer

Transfer transaction type.

Transfer(
	accountId,
	String toAddress,
	int fromSubAccountId,
	int toSubAccountId,
	int token,
	String fee,
	String amount,
	int nonce,
	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 Transfer