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
}
}View the complete transaction history and audit trail for tokens
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
}
}API key for authenticating requests. Include in X-API-Key header.
Filter by specific token ID
Filter by wallet ID
Maximum number of transactions to return
1 <= x <= 100Number of transactions to skip for pagination
x >= 0Transaction history retrieved successfully
Show child attributes
Unique identifier for the transaction
Type of transaction
mint, transfer, receive ID of the token involved in the transaction
When the transaction occurred
Type of token
fungible, nft Symbol for fungible tokens
Amount transferred (for fungible tokens)
ID of the sender wallet (null for mint transactions)
ID of the recipient wallet
Optional memo or description for the transaction
Current status of the transaction
pending, completed, failed Show child attributes