SDK Explorer

Retrieves a transaction by its unique identifier.

Parameters
input
object
Required

Represents the input for retrieving a transaction.

option 1:
userId
string
Required

Unique system-generated identifier for the user.

id
string
Required

The ID of the transaction to retrieve.

txType
string

Filters on the transaction type of the transaction.

Allowed valuesINBOUNDOUTBOUND
option 2:
userToken
string
Required

The JSON Web Token (JWT) representing the user.

id
string
Required

The ID of the transaction to retrieve.

txType
string

Filters on the transaction type of the transaction.

Allowed valuesINBOUNDOUTBOUND
Responses
Example
1const response = await client.getTransaction({
2  userToken: 'dummy-user-token',
3  id: 'transaction-id',
4})
5console.log(response.data)
ResponseChoose an example
1{
2  "data": {
3    "transaction": {
4      "id": "c4d1da72-111e-4d52-bdbf-2e74a2d803d5",
5      "abiFunctionSignature": "burn(uint256)",
6      "abiParameters": [
7        "100",
8        "1"
9      ],
10      "amounts": [
11        "6.62607015"
12      ],
13      "amountInUSD": "",
14      "blockHash": "",
15      "blockHeight": 0,
16      "blockchain": "MATIC-AMOY",
17      "contractAddress": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
18      "createDate": "2023-01-01T12:04:05Z",
19      "custodyType": "DEVELOPER",
20      "destinationAddress": "0xca9142d0b9804ef5e239d3bc1c7aa0d1c74e7350",
21      "errorReason": "",
22      "errorDetails": "",
23      "estimatedFee": {
24        "gasLimit": "21000",
25        "gasPrice": "",
26        "maxFee": "5.935224468",
27        "priorityFee": "1.022783914",
28        "baseFee": "1.022783914",
29        "networkFee": "0.0001246397138"
30      },
31      "feeLevel": "MEDIUM",
32      "firstConfirmDate": "2021-05-18T00:00:00Z",
33      "networkFee": "",
34      "networkFeeInUSD": "",
35      "nfts": [
36        "[{\"ntfTokenId\":\"12321\"",
37        "\"metadata\":\"ipfs://QmZcH4YvBVVRJtdn4RdbaqgspFU8gH6P9vomDpBVpAL3u4/1\"}",
38        "{\"ntfTokenId\":\"12322\"",
39        "\"metadata\":\"ipfs://QmZcH4YvBVVRJtdn4RdbaqgspFU8gH6P9vomDpBVpAL3u4/2\"}]"
40      ],
41      "operation": "TRANSFER",
42      "refId": "grouptransaction123",
43      "sourceAddress": "0xca9142d0b9804ef5e239d3bc1c7aa0d1c74e7350",
44      "state": "CANCELLED",
45      "tokenId": "c4d1da72-111e-4d52-bdbf-2e74a2d803d5",
46      "transactionType": "INBOUND",
47      "txHash": "0x4a25cc5e661d8504b59c5f38ba93f010e8518966f00e2ceda7955c4b8621357d",
48      "updateDate": "2023-01-01T12:04:05Z",
49      "userId": "ext_user_id_1",
50      "walletId": "c4d1da72-111e-4d52-bdbf-2e74a2d803d5",
51      "transactionScreeningEvaluation": {
52        "ruleName": "Low Gambling Risk (Owner)",
53        "actions": [
54          "REVIEW"
55        ],
56        "screeningDate": "2023-01-01T12:04:05Z",
57        "reasons": [
58          {
59            "source": "ADDRESS",
60            "sourceValue": "0x1bf9ad0cc2ad298c69a2995aa806ee832788218c",
61            "riskScore": "LOW",
62            "riskCategories": [
63              "GAMBLING"
64            ],
65            "type": "OWNERSHIP"
66          }
67        ]
68      }
69    }
70  }
71}
Did this page help you?
© 2023-2025 Circle Technology Services, LLC. All rights reserved.