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