Skip to main content
GET
/
tokens
/
history
Token History
curl --request GET \
  --url https://api.g2cplatform.com/v2/tokens/history \
  --header 'X-API-Key: <api-key>'
{
  "transactions": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "type": "mint",
      "tokenId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "timestamp": "2023-11-07T05:31:56Z",
      "tokenType": "fungible",
      "symbol": "<string>",
      "amount": 123,
      "fromWalletId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "toWalletId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "memo": "<string>",
      "status": "pending",
      "blockchain": {
        "txId": "<string>",
        "confirmations": 123,
        "fee": 123
      }
    }
  ],
  "pagination": {
    "limit": 123,
    "offset": 123,
    "total": 123,
    "hasNext": true,
    "hasPrevious": true
  }
}

Authorizations

X-API-Key
string
header
required

API key for authenticating requests. Include in X-API-Key header.

Query Parameters

tokenId
string<uuid>

Filter by specific token ID

walletId
string<uuid>

Filter by wallet ID

limit
integer
default:20

Maximum number of transactions to return

Required range: 1 <= x <= 100
offset
integer
default:0

Number of transactions to skip for pagination

Required range: x >= 0

Response

Transaction history retrieved successfully

transactions
object[]
required
pagination
object
required