Loopring Dev Docs
  • Introduction
  • Endpoints
  • SDK
    • SDK Guides
    • Test Mock Data
      • Mock Account
      • Mock provider
      • Mock ERC20 Token Map
      • Mock AMM MAP
      • Mock EIP712 Typed Data
      • Mock Generate eddsaKey
  • Glossary
  • 🗳️Loopring Account
    • Introduction
    • SDK Guides
      • Setup a Loopring Account
      • Unlock Account (Login)
    • API References
      • Get Account info
        • Sample code
      • Update EddsaKey
        • Sample code
      • Get apiKey
        • Sample code
      • Update apiKey
        • Sample code
  • 🎨CounterFactual NFT
    • Introduction
      • Compute NFT Address API
      • When to deploy counterfactual NFT contracts?
    • SDK Guides
      • Deposit NFT
      • Create Collection
      • Mint Counterfactual NFT
      • Transfer NFT
      • Deploy NFT
      • Withdraw NFT
      • Trade NFT
        • Validate NFT Order
      • Meta & IPFS
    • API References
      • NFT Collection
        • Create collection
          • Sample code
        • Edit collection
          • Sample code
        • Delete collection
          • Sample code
        • List owned collections
          • Sample code
        • List user's NFTs under one collection
          • Sample code
        • List user's NFT balances group by Collection ID
          • Sample code
        • List all NFTs of a collection
          • Sample code
        • Get collection by Collection ID
          • Sample code
        • Get collections by contract address
          • Sample code
      • Get NFT Assets
        • Sample code
      • Get NFT Balances
        • Sample code
      • Mint NFT
        • Sample code
      • Transfer NFT
        • Sample code
      • Validate NFT Order
        • Sample code
      • Trade NFT
        • Sample code
      • Deploy NFT TokenAddress
        • Sample code
      • Withdraw NFT
        • Sample code
      • Get NFT Transactions
        • Sample code
      • Get NFT Trade History
        • Sample code
      • Get AvailableBroker
        • Sample code
      • Get NFT Info
        • Sample code
      • Get NFT Data
        • Sample code
      • Get NFT Holders
        • Sample code
  • 🪙ERC20 Tokens
    • Introduction
    • SDK Guides
      • Transfer ERC20
      • Withdraw ERC20
      • Deposit ERC20
      • Order ERC20
    • API References
      • Get Assets
        • Sample code
      • Transfer
        • Sample code
      • Submit Order
        • Sample code
      • Cancel Order
        • Sample code
      • Withdraw
        • Sample code
      • Get Transactions
        • Sample code
      • Get Orders
        • Sample code
      • Get Trade History
        • Sample code
  • 🔬Resources
    • Advanced
      • UpdateAccount with custom seed
      • Pay payee updateAccount fee
      • Common error and solutions
      • Submit erc20 order
    • Common Info
      • Get relayer current time
        • Sample code
      • Get exchange info
        • Sample code
      • Get token info
        • Sample code
      • Get markets info
        • Sample code
    • Error codes
    • Fees
      • GET ERC20 Offchain Fee
        • Sample code
      • GET ERC20 Order Fee
        • Sample code
      • GET NFT Offchain Fee
        • Sample code
      • GET NFT Order Fee
        • Sample code
      • SDK Fees
    • Layer 2 block info
      • Get pending transactions
    • Request signing
      • Special API Request Signatures
      • Off-chain Request Signatures
      • Extra ECDSA authentic in header
    • Signature
      • ECDSA signature
        • ECDSA key generation
        • ECDSA sign
        • ECDSA verify signature
      • EdDSA signature
        • EdDSA key generation
        • EdDSA sign
        • EdDSA verify signature
      • SDK Signature
        • Mock Signature
    • Smart Contracts
    • Storage Id
      • Sample code
    • WebSocket
      • Account Notification
      • Order Notification
      • Orderbook Notification
      • Trade Notification
      • Ticker Notification
      • Candlestick Notification
      • AMM Pool Snapshot Notification
      • Block Generation Notification
    • Loopring Smart Wallet
      • Signature and verification
Powered by GitBook
On this page
  • EndPoint
  • Header
  • Request
  • Response
  • Model
  • Transaction
  • withdrawInfo
  • storageInfo

Was this helpful?

  1. ERC20 Tokens
  2. API References

Get Transactions

Get history for deposit, transfer and/or withdraw

EndPoint

GET /api/v3/user/transactions

Header

Field
Description
Example

X-API-KEY

ApiKey

"HlkcGxbqBeaF76j4rvPaOayfPwnkQ6B6DQ6THZWbvrGxzEdulXQvOKLrRWZLnN"

Request

Field
Description
Example

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

Model

Transaction

Field
Description
Example

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

Field
Description
Example

recipient

receiver address

fastStatus

distributeHash

Layer 1 tx hash

storageInfo

Field
Description
Example

accountId

account ID

10110

tokenId

token ID

0

storageId

storageId

1

PreviousSample codeNextSample code

Last updated 1 year ago

Was this helpful?

List[]

can link to explorer.loopring.io

🪙
Transaction
withdraw info
storage info