Account

Provide a history for the account

get
Path parameters
accountstringRequired

Wallet address of the provider

Example: 0x5650CD3E6E8963B43D21FAE60EE7A03BCEFCE766
Query parameters
pageNumbernumberRequired

Current Page Number

Example: 1
pageSizenumberRequired

Number of items per page

Example: 10
actionsstringRequired

Filter

Example: 1,2
Responses
200Success
application/json
get
GET /v1/ledger/history/account/{account}?pageNumber=1&pageSize=10&actions=1%2C2 HTTP/1.1
Host: 
Accept: */*
200Success
{
  "code": 0,
  "data": {
    "pageInfo": {
      "totalCount": 3,
      "totalPages": 1
    },
    "items": [
      {
        "account": "0x5650CD3E6E8963B43D21FAE60EE7A03BCEFCE766",
        "action": 1,
        "cancel": false,
        "amountPoint": "5000000000000000000000000",
        "amountToken": "0",
        "amountValue": "5000000000000000000000000",
        "feePoint": "0\"",
        "feeToken": "0\"",
        "feeValue": "0\"",
        "balancePoint": "10000000000000000000000000",
        "balanceToken": "100000000000000000000000",
        "purchaseId": "P00000002200843",
        "paymentId": "0x0000000000000000000000000000000000000000000000000000000000000000",
        "shopId": "0x00012a23595cf31762a61502546e8b9f947baf3bd55040d9bd535f8afdbff409",
        "blockNumber": "559",
        "blockTimestamp": "1722945138",
        "transactionHash": "0xbf7a697d5047973737cd255b49c521c520fc82c21459bff55e3499acb54e6f63"
      }
    ]
  },
  "error": {
    "message": "Failed to check the validity of parameters"
  }
}