Transfer
Sending ERC20 tokens from your Loopring L2 to another Loopring L2 address.
EndPoint
Header
X-API-KEY
ApiKey
"HlkcGxbqBeaF76j4rvPaOasyfPwnkQ6B6DQ6THZWbvrGxzEdulXQvOKLrRWZLnN"
X-API-SIG
ECDSA Signature, pay attention the signature type, sign the ecdsa hash
"0xccf0a141fce2dc5cbbd4f802c52220e9e2ce260e86704d6258603eb346eefe2d4a450005c362b223b2842d087f7065ea5eee0314531adf6a580fce64c25dca81c02"
Request
payerAddr
payer address
payerId
payer account ID
10110
payeeAddr
payee address
payeeId
payee account ID
10111,can set to 0 if dont have
validUntil
Timestamp for transfer to become invalid, seconds
normally current time + 2 months
memo
(Optional) memo
payPayeeUpdateAccount
(Optional) transfer to pay payee updateAccount fee , true or false, default is false
true
counterFactualInfo
(Optional) counterfactual Wallet Info, if it's a counterfactual wallet, need to pass the info
Response
hash
The hash identifier set by the user at the time of submission, can use this hash to get the transfer info
"0x1d923ca7834dc90484fa2eb611f0f0bc7e741bb107007ebea19ba8caeab4f9d3"
status
Whether the order was successfully submitted or not, please note, the user may query after a while to get the real process status, as most off-chain requests are asynchronously processed Allowable : ['received', 'processing', 'processed', 'failed']
"received"
isIdempotent
Idempotent of submit transfer response, submit same transfer again idempotent will be true
"false"
Model
TokenVolume
Wrapper object used to describe a token associated with a certain quantity.
tokenId
The Loopring's token identifier.
0
volume
The volume of the token
"100000000000 0"
counterFactualInfo
Counterfactual wallet information.
walletFactory
Counterfactual wallet factory contract address
"0xbbbbca6a901c926f240b89eacb641d8aec7aeafd"
walletOwner
Counterfactual wallet owner address, NOT the wallet address
"0xbbbbca6a901c926f240b89eacb641d8aec7aeafd"
walletSalt
Salt to generate address from owner & other related info
"1"
Compute ECDSA hash
Compute EdDSA hash
Last updated