Copy curl --request POST \
--url https://endpoints.omniatech.io/v1/RPC_ENDPOINT \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"method": "omnia_checkApproval",
"params": [
{
"address": "0x684e1225fd9085582e061FF5154413be3C7EC9DF",
"contractType": "erc20"
}
]
}
'
Copy {
"id": 1,
"jsonrpc": "2.0",
"result": [
{
"token_address": "0x4d224452801aced8b2f0aebe155379bb5d594381",
"chain_id": "1",
"token_name": "ApeCoin",
"token_symbol": "APE",
"decimals": 18,
"balance": "409.99999999999999999",
"is_open_source": 1,
"malicious_address": 0,
"malicious_behavior": [],
"approved_list": [
{
"token_address": "0xadf0ac3059400edfb6131b9fe65feea6ca83ad76",
"chain_id": "1",
"token_name": "SHELL",
"token_symbol": "SHELL",
"decimals": 18,
"balance": "7511.292673611111111109",
"is_open_source": 1,
"malicious_address": 0,
"malicious_behavior": [],
"approved_list": [
{
"approved_contract": "0x6576cfc5b0be296ed30d436c178d17cb59a4a3cd",
"approved_amount": "Unlimited",
"approved_time": 1662409086,
"initial_approval_time": 1662409057,
"initial_approval_hash": "0x5d683d9267bbb12de1467e5a22dc706b5c7b851e89e35928a2bf6a40ab37f588",
"hash": "0x8974cfcb4d374aa9a6d14fa35086548012dea1ee8dc091b342e2b166d5b8ff41",
"address_info": {
"contract_name": "CitizensInventory",
"tag": null,
"creator_address": "0xdcfbfc012a914758c4b62527a2770527b3279826",
"is_contract": 1,
"doubt_list": 0,
"malicious_behavior": [],
"deployed_time": 1662408079,
"trust_list": 0,
"is_open_source": 1
}
}
]
},
{
"token_address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"chain_id": "1",
"token_name": "Wrapped Ether",
"token_symbol": "WETH",
"decimals": 18,
"balance": "0.006",
"is_open_source": 1,
"malicious_address": 0,
"malicious_behavior": [],
"approved_list": [
{
"approved_contract": "0x1e0049783f008a0085193e00003d00cd54003c71",
"approved_amount": "Unlimited",
"approved_time": 1671891851,
"initial_approval_time": 1671891851,
"initial_approval_hash": "0xe981c78057fbf7d31cac15073e221715d8e47ee75c022671432f39ebd9383bea",
"hash": "0xe981c78057fbf7d31cac15073e221715d8e47ee75c022671432f39ebd9383bea",
"address_info": {
"contract_name": "Conduit",
"tag": "OpenSea",
"creator_address": "0x939c8d89ebc11fa45e576215e2353673ad0ba18a",
"is_contract": 1,
"doubt_list": 0,
"malicious_behavior": [],
"deployed_time": 1654994918,
"trust_list": 1,
"is_open_source": 1
}
}
]
},
{
"token_address": "0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0",
"chain_id": "1",
"token_name": "Matic Token",
"token_symbol": "MATIC",
"decimals": 18,
"balance": "0",
"is_open_source": 1,
"malicious_address": 0,
"malicious_behavior": [],
"approved_list": [
{
"approved_contract": "0x401f6c983ea34274ec46f84d70b31c151321188b",
"approved_amount": "Unlimited",
"approved_time": 1666041575,
"initial_approval_time": 1666041047,
"initial_approval_hash": "0xdbd542db25a0de4a610cbcee2cbf769e8ef1c1ba0a0a0cee33ef6da951738cd4",
"hash": "0xb719e8cff686b25cf882a8e540586ccc66c0ed0342c67bcb55654aaabd22c282",
"address_info": {
"contract_name": "DepositManagerProxy",
"tag": null,
"creator_address": "0xa2d9846c352ca61dcb20d6aad40cec1d1b228a78",
"is_contract": 1,
"doubt_list": 0,
"malicious_behavior": [],
"deployed_time": 1590850640,
"trust_list": 0,
"is_open_source": 1
}
}
]
}
]
}