Get Transactions
Get history for deposit, transfer and/or withdraw
EndPoint
Header
X-API-KEY
ApiKey
"HlkcGxbqBeaF76j4rvPaOayfPwnkQ6B6DQ6THZWbvrGxzEdulXQvOKLrRWZLnN"
Request
accountId
Account ID
10010
start
(Optional) Start time in milliseconds Default : 0L
1578558098000
end
(Optional) End time in milliseconds Default : 0L
1578558098000
limit
(Optional) Number of records to return, max is 50
20
tokenSymbol
(Optional) Token to filter. If you want to return deposit records for all tokens, omit this parameter
"LRC"
offset
(Optional) Number of records to skip Default : 0L
1
types
types, in "transfer,deposit,offchain_withdrawal,change_password", (split by ,)
"transfer,deposit"
hashes
The hashes (split by ,) of the transactions, normally its L2 tx hash, except the deposit which uses L1 tx hash.
"0xf7c932351186c3a9053f313eefa16209c018f7f1dba8aa8ca7100400f7c31085"
Response
List[Transaction]
Model
Transaction
id
Unique id
1
hash
L2 hash
"0x9d114267e8b261457d567093c13cf3deea5f14c9235be26c6fa833dba12a9632"
txType
User transaction type
"DEPOSIT"
"ONCHAIN_WITHDRAWAL"
"TRANSFER"
"CHANGE_PWD"
"CREATE_ACCOUNT"
"OFFCHAIN_WITHDRAWAL"
"AMM_JOIN"
"AMM_EXIT"
symbol
Token symbol
"LRC"
amount
Amount requested by the user
"100000000000 0000000"
txHsh
Layer 1 hash
"0x9d114267e8b261457d567093c13cf3deea5f14c9235be26c6fa833dba12a9632"
senderAddress
sender address
"0x0306b9d5c9Ed358FC7b77780bACD15398D242f26"
receiver
Receiver account id
10110
receiverAddress
The transfer receiver's address
"0x0306b9d5c9Ed358FC7b77780bACD15398D242f26"
feeTokenSymbol
Fee token symbol
"ETH"
feeAmount
Fee amount in wei
"100000000000 0000"
status
Current status Allowable : ['processing', 'processed', 'received', 'failed']
"processing"
progress
Progress
"100%"
timestamp
Create time
1578572292000
updatedAt
Update time
1578572292000
memo
memo
"Air Drop"
withdrawalInfo
/
storageInfo
withdrawInfo
recipient
receiver address
fastStatus
distributeHash
Layer 1 tx hash
storageInfo
accountId
account ID
10110
tokenId
token ID
0
storageId
storageId
1
Last updated