Retrieves info for a single transaction using it's unique identifier.
Transaction id
Unique system generated JWT session token for specific user.
Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
Filter by on the transaction type.
1from circle.web3 import user_controlled_wallets
2from circle.web3 import utils
3
4client = utils.init_user_controlled_wallets_client(api_key=key)
5
6api_instance = user_controlled_wallets.TransactionsApi(client)
7
8response = api_instance.get_transaction(x_user_token=user_token, id="c7064cb0-19ba-57c3-a4d2-92cf71ede662")
9print(response.json())
10
1{
2 "data": {
3 "transaction": {
4 "id": "c4d1da72-111e-4d52-bdbf-2e74a2d803d5",
5 "abi_function_signature": "burn(uint256)",
6 "abi_parameters": [
7 "100",
8 "1"
9 ],
10 "amounts": [
11 "6.62607015"
12 ],
13 "amount_in_usd": "",
14 "block_hash": "",
15 "block_height": 0,
16 "blockchain": "MATIC-AMOY",
17 "contract_address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
18 "create_date": "2023-01-01T12:04:05Z",
19 "custody_type": "DEVELOPER",
20 "destination_address": "0xca9142d0b9804ef5e239d3bc1c7aa0d1c74e7350",
21 "error_reason": "",
22 "error_details": "",
23 "estimated_fee": {
24 "gas_limit": "21000",
25 "gas_price": "",
26 "max_fee": "5.935224468",
27 "priority_fee": "1.022783914",
28 "base_fee": "1.022783914",
29 "network_fee": "0.0001246397138",
30 "network_fee_raw": "0.0001246397138",
31 "l_1_fee": "0.000000000000140021"
32 },
33 "fee_level": "MEDIUM",
34 "first_confirm_date": "2021-05-18T00:00:00Z",
35 "network_fee": "",
36 "network_fee_in_usd": "",
37 "nfts": [
38 "[{\"ntfTokenId\":\"12321\"",
39 "\"metadata\":\"ipfs://QmZcH4YvBVVRJtdn4RdbaqgspFU8gH6P9vomDpBVpAL3u4/1\"}",
40 "{\"ntfTokenId\":\"12322\"",
41 "\"metadata\":\"ipfs://QmZcH4YvBVVRJtdn4RdbaqgspFU8gH6P9vomDpBVpAL3u4/2\"}]"
42 ],
43 "operation": "TRANSFER",
44 "ref_id": "grouptransaction123",
45 "source_address": "0xca9142d0b9804ef5e239d3bc1c7aa0d1c74e7350",
46 "state": "CANCELLED",
47 "token_id": "c4d1da72-111e-4d52-bdbf-2e74a2d803d5",
48 "transaction_type": "INBOUND",
49 "tx_hash": "0x4a25cc5e661d8504b59c5f38ba93f010e8518966f00e2ceda7955c4b8621357d",
50 "update_date": "2023-01-01T12:04:05Z",
51 "user_id": "ext_user_id_1",
52 "wallet_id": "c4d1da72-111e-4d52-bdbf-2e74a2d803d5",
53 "transaction_screening_evaluation": {
54 "rule_name": "Low Gambling Risk (Owner)",
55 "actions": [
56 "REVIEW"
57 ],
58 "screening_date": "2023-01-01T12:04:05Z",
59 "reasons": [
60 {
61 "source": "ADDRESS",
62 "source_value": "0x1bf9ad0cc2ad298c69a2995aa806ee832788218c",
63 "risk_score": "LOW",
64 "risk_categories": [
65 "GAMBLING"
66 ],
67 "type": "OWNERSHIP"
68 }
69 ]
70 }
71 }
72 }
73}