Retrieves info for a single transaction using it's unique identifier.
Represents the input for retrieving a transaction.
The ID of the transaction to retrieve.
Filters on the transaction type of the transaction.
1const response = await client.getTransaction({
2 id: '9fcb2e86-dec2-4226-81d1-4dbad429278c',
3})
4console.log(response.data?.transaction)
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}