Polygon(MATIC) Querying API

👷Why BUIDL on Polygon

Polygon is a Layer2 scaling solution inspired by the Plasma framework. It achieves scale by using sidechains for computation. It intends to develop a plug and play scaling solution that will help DApps get access to faster and cheaper transactions.

Easy to port for Ethereum developers

Polygon uses an account-based Plasma (EVM) model rather than the UTXO system. Polygon will provide UI libraries, SDK’s & added services, enabling developers to focus on their core product, while Unmarshal can provide backend services like SDK to access on-chain data for Polygon, which can further reduce the burden of the application developers.

Built to Scale for mass adoption

  • Lower Fee

  • Faster Transaction(<1sec)

  • High Throughput

Unmarshal's Current Infrastructure Support

*APIs for QuickSwap Coming Soon

Get Token Balance

GET https://stg-api.unmarshal.io/v1/matic/address/:address/assets

Description: This End-point will allow you to retrieve balances tied to a particular address. The response of this API includes everything you need to make sense of your assets. You can see what is the current value of each Token, and how much your asset is worth in Fiat currency. We also have a CDN for logs. Eg: Fetch balances by address for Matic https://stg-api.unmarshal.io/v1/matic/address/0xfC43f5F9dd45258b3AFf31Bdbe6561D97e8B71de/assets?auth_key=VGVtcEtleQ%3D%3D

Path Parameters

Query Parameters

[
    {
        "contract_name": "FISH",
        "contract_ticker_symbol": "FISH",
        "contract_decimals": 18,
        "contract_address": "0x3a3df212b7aa91aa0402b9035b098891d276572b",
        "coin": 137,
        "type": "ERC20",
        "balance": "82029449850825813706598",
        "quote": 2552756.4793576994,
        "quote_rate": 31.12,
        "logo_url": "https://assets.unmarshal.io/tokens/0x3a3df212b7aa91aa0402b9035b098891d276572b.png"
    },
    {
        "contract_name": "DAI",
        "contract_ticker_symbol": "DAI",
        "contract_decimals": 18,
        "contract_address": "0x8f3cf7ad23cd3cadbd9735aff958023239c6a063",
        "coin": 137,
        "type": "ERC20",
        "balance": "352566712167687418762",
        "quote": 352.5667121676874,
        "quote_rate": 1,
        "logo_url": "https://assets.unmarshal.io/tokens/0x8f3cf7ad23cd3cadbd9735aff958023239c6a063.png"
    },
    {
        "contract_name": "WMATIC",
        "contract_ticker_symbol": "WMATIC",
        "contract_decimals": 18,
        "contract_address": "0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270",
        "coin": 137,
        "type": "ERC20",
        "balance": "163905983621393000574",
        "quote": 273.72299264772624,
        "quote_rate": 1.67,
        "logo_url": "https://assets.unmarshal.io/tokens/0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270.png"
    },
    {
        "contract_name": "Matic",
        "contract_ticker_symbol": "MATIC",
        "contract_decimals": 18,
        "contract_address": "0x0000000000000000000000000000000000001010",
        "coin": 137,
        "type": "ERC20",
        "balance": "114766463805080000000",
        "quote": 192.80765919253437,
        "quote_rate": 1.68,
        "logo_url": "https://assets.unmarshal.io/tokens/0x0000000000000000000000000000000000001010.png"
    },
    {
        "contract_name": "DQUICK",
        "contract_ticker_symbol": "DQUICK",
        "contract_decimals": 18,
        "contract_address": "0xf28164a485b0b2c90639e47b0f377b4a438a16b1",
        "coin": 137,
        "type": "ERC20",
        "balance": "121028313692551891",
        "quote": 93.86592925053247,
        "quote_rate": 775.57,
        "logo_url": "https://assets.unmarshal.io/tokens/0xf28164a485b0b2c90639e47b0f377b4a438a16b1.png"
    },
    {
        "contract_name": "WBTC",
        "contract_ticker_symbol": "WBTC",
        "contract_decimals": 18,
        "contract_address": "0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6",
        "coin": 137,
        "type": "ERC20",
        "balance": "37355",
        "quote": 1.35157861e-9,
        "quote_rate": 36182,
        "logo_url": "https://assets.unmarshal.io/tokens/0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6.png"
    },
    {
        "contract_name": "USDC",
        "contract_ticker_symbol": "USDC",
        "contract_decimals": 18,
        "contract_address": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
        "coin": 137,
        "type": "ERC20",
        "balance": "109058742",
        "quote": 1.09034094724308e-10,
        "quote_rate": 0.999774,
        "logo_url": "https://assets.unmarshal.io/tokens/0x2791bca1f2de4661ed88a30c99a7a9449aa84174.png"
    },
    {
        "contract_name": "USDT",
        "contract_ticker_symbol": "USDT",
        "contract_decimals": 18,
        "contract_address": "0xc2132d05d31c914a87c6611c10748aeb04b58e8f",
        "coin": 137,
        "type": "ERC20",
        "balance": "12496816",
        "quote": 1.2496816e-11,
        "quote_rate": 1,
        "logo_url": "https://assets.unmarshal.io/tokens/0xc2132d05d31c914a87c6611c10748aeb04b58e8f.png"
    },
    {
        "contract_name": "AGA",
        "contract_ticker_symbol": "AGA",
        "contract_decimals": 18,
        "contract_address": "0x033d942a6b495c4071083f4cde1f17e986fe856c",
        "coin": 137,
        "type": "ERC20",
        "balance": "124",
        "quote": 1.4383999999999999e-16,
        "quote_rate": 1.16,
        "logo_url": "https://assets.unmarshal.io/tokens/0x033d942a6b495c4071083f4cde1f17e986fe856c.png"
    },
    {
        "contract_name": "",
        "contract_ticker_symbol": "",
        "contract_decimals": 18,
        "contract_address": "0x90bc3e68ba8393a3bf2d79309365089975341a43",
        "coin": 137,
        "type": "ERC20",
        "balance": "180823012258311595",
        "quote": 0,
        "quote_rate": 0,
        "logo_url": "https://assets.unmarshal.io/tokens/0x90bc3e68ba8393a3bf2d79309365089975341a43.png"
    },
    {
        "contract_name": "",
        "contract_ticker_symbol": "",
        "contract_decimals": 18,
        "contract_address": "0xf6422b997c7f54d1c6a6e103bcb1499eea0a7046",
        "coin": 137,
        "type": "ERC20",
        "balance": "178267102",
        "quote": 0,
        "quote_rate": 0,
        "logo_url": "https://assets.unmarshal.io/tokens/0xf6422b997c7f54d1c6a6e103bcb1499eea0a7046.png"
    },
    {
        "contract_name": "",
        "contract_ticker_symbol": "",
        "contract_decimals": 18,
        "contract_address": "0xe62ec2e799305e0d367b0cc3ee2cda135bf89816",
        "coin": 137,
        "type": "ERC20",
        "balance": "192168353",
        "quote": 0,
        "quote_rate": 0,
        "logo_url": "https://assets.unmarshal.io/tokens/0xe62ec2e799305e0d367b0cc3ee2cda135bf89816.png"
    },
    {
        "contract_name": "",
        "contract_ticker_symbol": "",
        "contract_decimals": 18,
        "contract_address": "0xf04adbf75cdfc5ed26eea4bbbb991db002036bdd",
        "coin": 137,
        "type": "ERC20",
        "balance": "13983055720",
        "quote": 0,
        "quote_rate": 0,
        "logo_url": "https://assets.unmarshal.io/tokens/0xf04adbf75cdfc5ed26eea4bbbb991db002036bdd.png"
    },
    {
        "contract_name": "",
        "contract_ticker_symbol": "",
        "contract_decimals": 18,
        "contract_address": "0x0f4044f4475b7ec4bde170146ad02a9cd3ad4853",
        "coin": 137,
        "type": "ERC20",
        "balance": "5000000000000000000000000",
        "quote": 0,
        "quote_rate": 0,
        "logo_url": "https://assets.unmarshal.io/tokens/0x0f4044f4475b7ec4bde170146ad02a9cd3ad4853.png"
    },
    {
        "contract_name": "",
        "contract_ticker_symbol": "",
        "contract_decimals": 18,
        "contract_address": "0x853ee4b2a13f8a742d64c8f088be7ba2131f670d",
        "coin": 137,
        "type": "ERC20",
        "balance": "129848015232",
        "quote": 0,
        "quote_rate": 0,
        "logo_url": "https://assets.unmarshal.io/tokens/0x853ee4b2a13f8a742d64c8f088be7ba2131f670d.png"
    },
    {
        "contract_name": "",
        "contract_ticker_symbol": "",
        "contract_decimals": 18,
        "contract_address": "0xc4e595acdd7d12fec385e5da5d43160e8a0bac0e",
        "coin": 137,
        "type": "ERC20",
        "balance": "4924517730599445822",
        "quote": 0,
        "quote_rate": 0,
        "logo_url": "https://assets.unmarshal.io/tokens/0xc4e595acdd7d12fec385e5da5d43160e8a0bac0e.png"
    },
    {
        "contract_name": "",
        "contract_ticker_symbol": "",
        "contract_decimals": 18,
        "contract_address": "0x85de135ff062df790a5f20b79120f17d3da63b2d",
        "coin": 137,
        "type": "ERC20",
        "balance": "3368342236796293",
        "quote": 0,
        "quote_rate": 0,
        "logo_url": "https://assets.unmarshal.io/tokens/0x85de135ff062df790a5f20b79120f17d3da63b2d.png"
    },
    {
        "contract_name": "",
        "contract_ticker_symbol": "",
        "contract_decimals": 18,
        "contract_address": "0x9e20a8d3501bf96eda8e69b96dd84840058a1cb0",
        "coin": 137,
        "type": "ERC20",
        "balance": "2579975365414",
        "quote": 0,
        "quote_rate": 0,
        "logo_url": "https://assets.unmarshal.io/tokens/0x9e20a8d3501bf96eda8e69b96dd84840058a1cb0.png"
    },
    {
        "contract_name": "",
        "contract_ticker_symbol": "",
        "contract_decimals": 18,
        "contract_address": "0x6e7a5fafcec6bb1e78bae2a1f0b612012bf14827",
        "coin": 137,
        "type": "ERC20",
        "balance": "361736511878211",
        "quote": 0,
        "quote_rate": 0,
        "logo_url": "https://assets.unmarshal.io/tokens/0x6e7a5fafcec6bb1e78bae2a1f0b612012bf14827.png"
    },
    {
        "contract_name": "",
        "contract_ticker_symbol": "",
        "contract_decimals": 18,
        "contract_address": "0x264e6bc3f95633725658e4d9640f7f7d9100f6ac",
        "coin": 137,
        "type": "ERC20",
        "balance": "49382116254324923203990",
        "quote": 0,
        "quote_rate": 0,
        "logo_url": "https://assets.unmarshal.io/tokens/0x264e6bc3f95633725658e4d9640f7f7d9100f6ac.png"
    },
    {
        "contract_name": "",
        "contract_ticker_symbol": "",
        "contract_decimals": 18,
        "contract_address": "0xbedee6a7c572aa855a0c84d2f504311d482862f4",
        "coin": 137,
        "type": "ERC20",
        "balance": "658291559176611891428",
        "quote": 0,
        "quote_rate": 0,
        "logo_url": "https://assets.unmarshal.io/tokens/0xbedee6a7c572aa855a0c84d2f504311d482862f4.png"
    },
    {
        "contract_name": "",
        "contract_ticker_symbol": "",
        "contract_decimals": 18,
        "contract_address": "0xdc9232e2df177d7a12fdff6ecbab114e2231198d",
        "coin": 137,
        "type": "ERC20",
        "balance": "442512940",
        "quote": 0,
        "quote_rate": 0,
        "logo_url": "https://assets.unmarshal.io/tokens/0xdc9232e2df177d7a12fdff6ecbab114e2231198d.png"
    },
    {
        "contract_name": "",
        "contract_ticker_symbol": "",
        "contract_decimals": 18,
        "contract_address": "0x4a35582a710e1f4b2030a3f826da20bfb6703c09",
        "coin": 137,
        "type": "ERC20",
        "balance": "28108998865062869",
        "quote": 0,
        "quote_rate": 0,
        "logo_url": "https://assets.unmarshal.io/tokens/0x4a35582a710e1f4b2030a3f826da20bfb6703c09.png"
    },
    {
        "contract_name": "",
        "contract_ticker_symbol": "",
        "contract_decimals": 18,
        "contract_address": "0x5ca6ca6c3709e1e6cfe74a50cf6b2b6ba2dadd67",
        "coin": 137,
        "type": "ERC20",
        "balance": "289313353234883",
        "quote": 0,
        "quote_rate": 0,
        "logo_url": "https://assets.unmarshal.io/tokens/0x5ca6ca6c3709e1e6cfe74a50cf6b2b6ba2dadd67.png"
    },
    {
        "contract_name": "",
        "contract_ticker_symbol": "",
        "contract_decimals": 18,
        "contract_address": "0x396e655c309676caf0acf4607a868e0cded876db",
        "coin": 137,
        "type": "ERC20",
        "balance": "29657909003119601",
        "quote": 0,
        "quote_rate": 0,
        "logo_url": "https://assets.unmarshal.io/tokens/0x396e655c309676caf0acf4607a868e0cded876db.png"
    },
    {
        "contract_name": "",
        "contract_ticker_symbol": "",
        "contract_decimals": 18,
        "contract_address": "0x59153f27eefe07e5ece4f9304ebba1da6f53ca88",
        "coin": 137,
        "type": "ERC20",
        "balance": "423926402609",
        "quote": 0,
        "quote_rate": 0,
        "logo_url": "https://assets.unmarshal.io/tokens/0x59153f27eefe07e5ece4f9304ebba1da6f53ca88.png"
    },
    {
        "contract_name": "",
        "contract_ticker_symbol": "",
        "contract_decimals": 18,
        "contract_address": "0x4b1f1e2435a9c96f7330faea190ef6a7c8d70001",
        "coin": 137,
        "type": "ERC20",
        "balance": "492432",
        "quote": 0,
        "quote_rate": 0,
        "logo_url": "https://assets.unmarshal.io/tokens/0x4b1f1e2435a9c96f7330faea190ef6a7c8d70001.png"
    },
    {
        "contract_name": "",
        "contract_ticker_symbol": "",
        "contract_decimals": 18,
        "contract_address": "0xcbf6f78981e63ef813cb71852d72a060b583eecf",
        "coin": 137,
        "type": "ERC20",
        "balance": "359190757119389138773",
        "quote": 0,
        "quote_rate": 0,
        "logo_url": "https://assets.unmarshal.io/tokens/0xcbf6f78981e63ef813cb71852d72a060b583eecf.png"
    },
    {
        "contract_name": "",
        "contract_ticker_symbol": "",
        "contract_decimals": 18,
        "contract_address": "0x7ceb23fd6bc0add59e62ac25578270cff1b9f619",
        "coin": 137,
        "type": "ERC20",
        "balance": "28248836675308733",
        "quote": 0,
        "quote_rate": 0,
        "logo_url": "https://assets.unmarshal.io/tokens/0x7ceb23fd6bc0add59e62ac25578270cff1b9f619.png"
    },
    {
        "contract_name": "",
        "contract_ticker_symbol": "",
        "contract_decimals": 18,
        "contract_address": "0xcd578f016888b57f1b1e3f887f392f0159e26747",
        "coin": 137,
        "type": "ERC20",
        "balance": "4950899485919",
        "quote": 0,
        "quote_rate": 0,
        "logo_url": "https://assets.unmarshal.io/tokens/0xcd578f016888b57f1b1e3f887f392f0159e26747.png"
    },
    {
        "contract_name": "",
        "contract_ticker_symbol": "",
        "contract_decimals": 18,
        "contract_address": "0x019ba0325f1988213d448b3472fa1cf8d07618d7",
        "coin": 137,
        "type": "ERC20",
        "balance": "621764627713164801",
        "quote": 0,
        "quote_rate": 0,
        "logo_url": "https://assets.unmarshal.io/tokens/0x019ba0325f1988213d448b3472fa1cf8d07618d7.png"
    },
    {
        "contract_name": "",
        "contract_ticker_symbol": "",
        "contract_decimals": 18,
        "contract_address": "0x2bbe0f728f4d5821f84eee0432d2a4be7c0cb7fc",
        "coin": 137,
        "type": "ERC20",
        "balance": "21120381138296",
        "quote": 0,
        "quote_rate": 0,
        "logo_url": "https://assets.unmarshal.io/tokens/0x2bbe0f728f4d5821f84eee0432d2a4be7c0cb7fc.png"
    },
    {
        "contract_name": "",
        "contract_ticker_symbol": "",
        "contract_decimals": 18,
        "contract_address": "0x1bd06b96dd42ada85fdd0795f3b4a79db914add5",
        "coin": 137,
        "type": "ERC20",
        "balance": "74956436955894",
        "quote": 0,
        "quote_rate": 0,
        "logo_url": "https://assets.unmarshal.io/tokens/0x1bd06b96dd42ada85fdd0795f3b4a79db914add5.png"
    },
    {
        "contract_name": "",
        "contract_ticker_symbol": "",
        "contract_decimals": 18,
        "contract_address": "0x1f1e4c845183ef6d50e9609f16f6f9cae43bc9cb",
        "coin": 137,
        "type": "ERC20",
        "balance": "35479931009",
        "quote": 0,
        "quote_rate": 0,
        "logo_url": "https://assets.unmarshal.io/tokens/0x1f1e4c845183ef6d50e9609f16f6f9cae43bc9cb.png"
    },
    {
        "contract_name": "",
        "contract_ticker_symbol": "",
        "contract_decimals": 18,
        "contract_address": "0x2cf7252e74036d1da831d11089d326296e64a728",
        "coin": 137,
        "type": "ERC20",
        "balance": "38737348",
        "quote": 0,
        "quote_rate": 0,
        "logo_url": "https://assets.unmarshal.io/tokens/0x2cf7252e74036d1da831d11089d326296e64a728.png"
    },
    {
        "contract_name": "",
        "contract_ticker_symbol": "",
        "contract_decimals": 18,
        "contract_address": "0xadbf1854e5883eb8aa7baf50705338739e558e5b",
        "coin": 137,
        "type": "ERC20",
        "balance": "16652854091034182366",
        "quote": 0,
        "quote_rate": 0,
        "logo_url": "https://assets.unmarshal.io/tokens/0xadbf1854e5883eb8aa7baf50705338739e558e5b.png"
    },
    {
        "contract_name": "",
        "contract_ticker_symbol": "",
        "contract_decimals": 18,
        "contract_address": "0xa28ade2f27b9554b01964fdce97ed643301411d9",
        "coin": 137,
        "type": "ERC20",
        "balance": "9711833267419254058",
        "quote": 0,
        "quote_rate": 0,
        "logo_url": "https://assets.unmarshal.io/tokens/0xa28ade2f27b9554b01964fdce97ed643301411d9.png"
    },
    {
        "contract_name": "",
        "contract_ticker_symbol": "",
        "contract_decimals": 18,
        "contract_address": "0x1e794afed730e913d2a514033773c90dc0b59c54",
        "coin": 137,
        "type": "ERC20",
        "balance": "312889",
        "quote": 0,
        "quote_rate": 0,
        "logo_url": "https://assets.unmarshal.io/tokens/0x1e794afed730e913d2a514033773c90dc0b59c54.png"
    },
    {
        "contract_name": "",
        "contract_ticker_symbol": "",
        "contract_decimals": 18,
        "contract_address": "0xe59fd80c8cb160ca490414c6069de003328148df",
        "coin": 137,
        "type": "ERC20",
        "balance": "1",
        "quote": 0,
        "quote_rate": 0,
        "logo_url": "https://assets.unmarshal.io/tokens/0xe59fd80c8cb160ca490414c6069de003328148df.png"
    },
    {
        "contract_name": "",
        "contract_ticker_symbol": "",
        "contract_decimals": 18,
        "contract_address": "0xf6a637525402643b0654a54bead2cb9a83c8b498",
        "coin": 137,
        "type": "ERC20",
        "balance": "2429399",
        "quote": 0,
        "quote_rate": 0,
        "logo_url": "https://assets.unmarshal.io/tokens/0xf6a637525402643b0654a54bead2cb9a83c8b498.png"
    },
    {
        "contract_name": "",
        "contract_ticker_symbol": "",
        "contract_decimals": 18,
        "contract_address": "0x6ff62bfb8c12109e8000935a6de54dad83a4f39f",
        "coin": 137,
        "type": "ERC20",
        "balance": "48603496482605562",
        "quote": 0,
        "quote_rate": 0,
        "logo_url": "https://assets.unmarshal.io/tokens/0x6ff62bfb8c12109e8000935a6de54dad83a4f39f.png"
    }
]

Get Token Transactions

GET https://stg-api.unmarshal.io/v1/matic/address/:address/transactions

Description: Retrieves all transactions of the particular address. Unmarshal has the best in class decoders to extract the meaning out of just a function call to the smart contract. Our decoder decodes the transaction into Send, Receive, Approve, Stake, UnStake, Add Liquidity, Remove Liquidity, etc. Optional Query Parameters: -> page: specifies the page of the returned transaction, starting from 1 -> pageSize: Number of transaction returned by API call (by default 1000), returns in the order of recent transactions Eg: Fetch all transactions by address for Matic

https://stg-api.unmarshal.io/v1/matic/address/0xfC43f5F9dd45258b3AFf31Bdbe6561D97e8B71de/transactions?auth_key=VGVtcEtleQ%3D%3D

Path Parameters

Query Parameters

{
    "page": 1,
    "total_pages": 8,
    "items_on_page": 25,
    "total_txs": 198,
    "transactions": [
        {
            "id": "0x24e6b91235cd900dffde15f3a563715d0e74842a32adae0402c784f52088b0c4",
            "from": "0xea7c361c0e7c1893b9cc717f313942c87b5f388a",
            "to": "0x8cfd1b9b7478e7b0422916b72d1db6a9d513d734",
            "fee": "138609000000000",
            "date": 1622843816,
            "status": "completed",
            "type": "contract_execution",
            "value": "0",
            "description": "Contract execution",
            "sent": [
                {
                    "token_id": "0x9e2fbb31fbd68472f6cd54a1635b8cd64d78fc1c",
                    "decimals": 0,
                    "value": "192841319995786017008"
                }
            ]
        },
        {
            "id": "0x723c484e0d71f793c32862bef15b24e63621be267c1415629fd16a892dfb73ab",
            "from": "0xea7c361c0e7c1893b9cc717f313942c87b5f388a",
            "to": "0xa102072a4c07f06ec3b4900fdc4c7b80b6c57429",
            "fee": "151547000000000",
            "date": 1622843724,
            "status": "completed",
            "type": "contract_execution",
            "value": "120818415306433896103",
            "description": "Contract execution",
            "received": [
                {
                    "token_id": "0x9e2fbb31fbd68472f6cd54a1635b8cd64d78fc1c",
                    "decimals": 0,
                    "value": "25565432409142202398"
                }
            ],
            "sent": [
                {
                    "name": "FISH",
                    "symbol": "FISH",
                    "token_id": "0x3a3df212b7aa91aa0402b9035b098891d276572b",
                    "decimals": 18,
                    "value": "5436459702954747555"
                }
            ]
        },
        {
            "id": "0x664714f028dae826bfe13aa53233e00473df5bfd3d5a066a5e112db6e0146754",
            "from": "0xea7c361c0e7c1893b9cc717f313942c87b5f388a",
            "to": "0xa5e0829caced8ffdd4de3c43696c57f7d7a678ff",
            "fee": "118455000000000",
            "date": 1622843656,
            "status": "completed",
            "type": "swap",
            "value": "0",
            "description": "Swapped 5.4364 FISH for 119.6027 WMATIC",
            "received": [
                {
                    "name": "WMATIC",
                    "symbol": "WMATIC",
                    "token_id": "0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270",
                    "decimals": 18,
                    "value": "119602692944727888882"
                }
            ],
            "sent": [
                {
                    "name": "FISH",
                    "symbol": "FISH",
                    "token_id": "0x3a3df212b7aa91aa0402b9035b098891d276572b",
                    "decimals": 18,
                    "value": "5436400000000000000"
                }
            ]
        },
        {
            "id": "0x753765cad0002474b6d362a7f2846d5f4767bd9f54ecb91222ae5102df868edf",
            "from": "0xea7c361c0e7c1893b9cc717f313942c87b5f388a",
            "to": "0x8cfd1b9b7478e7b0422916b72d1db6a9d513d734",
            "fee": "122061000000000",
            "date": 1622843522,
            "status": "completed",
            "type": "contract_execution",
            "value": "0",
            "description": "Contract execution",
            "received": [
                {
                    "name": "FISH",
                    "symbol": "FISH",
                    "token_id": "0x3a3df212b7aa91aa0402b9035b098891d276572b",
                    "decimals": 18,
                    "value": "5539210195244254281"
                }
            ]
        },
        {
            "id": "0x8f6282249a66ea47b767113b17617e8832c5dc29af618a92672fef6deee07cb6",
            "from": "0xea7c361c0e7c1893b9cc717f313942c87b5f388a",
            "to": "0x8cfd1b9b7478e7b0422916b72d1db6a9d513d734",
            "fee": "122083000000000",
            "date": 1622843520,
            "status": "completed",
            "type": "contract_execution",
            "value": "0",
            "description": "Contract execution",
            "received": [
                {
                    "name": "FISH",
                    "symbol": "FISH",
                    "token_id": "0x3a3df212b7aa91aa0402b9035b098891d276572b",
                    "decimals": 18,
                    "value": "406061054926810216"
                }
            ]
        },
        {
            "id": "0x3a6a866d9887928a4825c52449eac350a91d2e2ca7ee7203b70c51786c4a4220",
            "from": "0xea7c361c0e7c1893b9cc717f313942c87b5f388a",
            "to": "0x8cfd1b9b7478e7b0422916b72d1db6a9d513d734",
            "fee": "122061000000000",
            "date": 1622843518,
            "status": "completed",
            "type": "contract_execution",
            "value": "0",
            "description": "Contract execution",
            "received": [
                {
                    "name": "FISH",
                    "symbol": "FISH",
                    "token_id": "0x3a3df212b7aa91aa0402b9035b098891d276572b",
                    "decimals": 18,
                    "value": "4125265110026221407"
                }
            ]
        },
        {
            "id": "0x49711fa54956eec7233fb8b99b7c56b5b6ac3a6d04762965961bdc40ead0e8dc",
            "from": "0xea7c361c0e7c1893b9cc717f313942c87b5f388a",
            "to": "0x8cfd1b9b7478e7b0422916b72d1db6a9d513d734",
            "fee": "116909000000000",
            "date": 1622843518,
            "status": "completed",
            "type": "contract_execution",
            "value": "0",
            "description": "Contract execution",
            "received": [
                {
                    "name": "FISH",
                    "symbol": "FISH",
                    "token_id": "0x3a3df212b7aa91aa0402b9035b098891d276572b",
                    "decimals": 18,
                    "value": "530067580007287717"
                }
            ]
        },
        {
            "id": "0x0a201e4057259460c887be99348dc580e216d1013d99d5b216ef4748310eb6b8",
            "from": "0xea7c361c0e7c1893b9cc717f313942c87b5f388a",
            "to": "0xa102072a4c07f06ec3b4900fdc4c7b80b6c57429",
            "fee": "175658000000000",
            "date": 1622843436,
            "status": "completed",
            "type": "contract_execution",
            "value": "790000000000000000000",
            "description": "Contract execution",
            "received": [
                {
                    "token_id": "0x9e2fbb31fbd68472f6cd54a1635b8cd64d78fc1c",
                    "decimals": 0,
                    "value": "167275887586643814610"
                }
            ],
            "sent": [
                {
                    "name": "FISH",
                    "symbol": "FISH",
                    "token_id": "0x3a3df212b7aa91aa0402b9035b098891d276572b",
                    "decimals": 18,
                    "value": "35571600938993169410"
                }
            ]
        },
        {
            "id": "0xaeedac394972bd808f66f3db81ff7f97d9f35395a03e40e254058a24d9d9cfc0",
            "from": "0xea7c361c0e7c1893b9cc717f313942c87b5f388a",
            "to": "0xa5e0829caced8ffdd4de3c43696c57f7d7a678ff",
            "fee": "118443000000000",
            "date": 1622843376,
            "status": "completed",
            "type": "swap",
            "value": "0",
            "description": "Swapped 0.7 FISH for 15.4044 WMATIC",
            "received": [
                {
                    "name": "WMATIC",
                    "symbol": "WMATIC",
                    "token_id": "0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270",
                    "decimals": 18,
                    "value": "15404423766810174206"
                }
            ],
            "sent": [
                {
                    "name": "FISH",
                    "symbol": "FISH",
                    "token_id": "0x3a3df212b7aa91aa0402b9035b098891d276572b",
                    "decimals": 18,
                    "value": "700000000000000000"
                }
            ]
        },
        {
            "id": "0x5059f6b23d0e24104ce2b278e8b0170467c37505e5a79a7fe9fef1532a52f2dd",
            "from": "0xea7c361c0e7c1893b9cc717f313942c87b5f388a",
            "to": "0xa5e0829caced8ffdd4de3c43696c57f7d7a678ff",
            "fee": "165431000000000",
            "date": 1622843150,
            "status": "completed",
            "type": "contract_execution",
            "value": "0",
            "description": "Contract execution",
            "received": [
                {
                    "name": "FISH",
                    "symbol": "FISH",
                    "token_id": "0x3a3df212b7aa91aa0402b9035b098891d276572b",
                    "decimals": 18,
                    "value": "35085649702174521802"
                }
            ],
            "sent": [
                {
                    "token_id": "0x289cf2b63c5edeeeab89663639674d9233e8668e",
                    "decimals": 0,
                    "value": "146387785084822586449"
                }
            ]
        },
        {
            "id": "0xca218be5d548d1363d4aaae38357ea591ebbfcd5b02220d0b28c3da8bac1b321",
            "from": "0xea7c361c0e7c1893b9cc717f313942c87b5f388a",
            "to": "0x8cfd1b9b7478e7b0422916b72d1db6a9d513d734",
            "fee": "118987000000000",
            "date": 1622843094,
            "status": "completed",
            "type": "contract_execution",
            "value": "0",
            "description": "Contract execution",
            "received": [
                {
                    "token_id": "0x289cf2b63c5edeeeab89663639674d9233e8668e",
                    "decimals": 0,
                    "value": "146387785084822586449"
                },
                {
                    "name": "FISH",
                    "symbol": "FISH",
                    "token_id": "0x3a3df212b7aa91aa0402b9035b098891d276572b",
                    "decimals": 18,
                    "value": "1453919268813245769"
                }
            ]
        },
        {
            "id": "0x19f25051d6be54c0e231066c9baf9b715bee09121910ad7b51728d1f7bc82a9a",
            "from": "0xea7c361c0e7c1893b9cc717f313942c87b5f388a",
            "to": "0x8cfd1b9b7478e7b0422916b72d1db6a9d513d734",
            "fee": "177996000000000",
            "date": 1622705973,
            "status": "completed",
            "type": "contract_execution",
            "value": "0",
            "description": "Contract execution",
            "received": [
                {
                    "name": "FISH",
                    "symbol": "FISH",
                    "token_id": "0x3a3df212b7aa91aa0402b9035b098891d276572b",
                    "decimals": 18,
                    "value": "4287730755575773"
                }
            ],
            "sent": [
                {
                    "name": "AGAR",
                    "symbol": "AGAR",
                    "token_id": "0xf84bd51eab957c2e7b7d646a3427c5a50848281d",
                    "decimals": 18,
                    "value": "109284732"
                }
            ]
        },
        {
            "id": "0x6fdafa5e0fcd4a3fe247bb9a352a5b01d5bbcb43d5967435b531bf7569772756",
            "from": "0xea7c361c0e7c1893b9cc717f313942c87b5f388a",
            "to": "0xa5e0829caced8ffdd4de3c43696c57f7d7a678ff",
            "fee": "174362000000000",
            "date": 1622705921,
            "status": "completed",
            "type": "contract_execution",
            "value": "0",
            "description": "Contract execution",
            "received": [
                {
                    "name": "AGAR",
                    "symbol": "AGAR",
                    "token_id": "0xf84bd51eab957c2e7b7d646a3427c5a50848281d",
                    "decimals": 18,
                    "value": "109284732"
                }
            ],
            "sent": [
                {
                    "name": "FISH",
                    "symbol": "FISH",
                    "token_id": "0x3a3df212b7aa91aa0402b9035b098891d276572b",
                    "decimals": 18,
                    "value": "4706964961764410415"
                }
            ]
        },
        {
            "id": "0x27b681350c544ef65d298d7f76aee2984560173814a845ec19e77a1a5e3ad88e",
            "from": "0xea7c361c0e7c1893b9cc717f313942c87b5f388a",
            "to": "0x8cfd1b9b7478e7b0422916b72d1db6a9d513d734",
            "fee": "122083000000000",
            "date": 1622705875,
            "status": "completed",
            "type": "contract_execution",
            "value": "0",
            "description": "Contract execution",
            "received": [
                {
                    "name": "FISH",
                    "symbol": "FISH",
                    "token_id": "0x3a3df212b7aa91aa0402b9035b098891d276572b",
                    "decimals": 18,
                    "value": "172060480476838833"
                }
            ]
        },
        {
            "id": "0x00b0d4320f1a6aa93e80d9138e304905e7883da1cf7aecb2a3dc02b4feb14cb1",
            "from": "0xea7c361c0e7c1893b9cc717f313942c87b5f388a",
            "to": "0x8cfd1b9b7478e7b0422916b72d1db6a9d513d734",
            "fee": "122061000000000",
            "date": 1622705873,
            "status": "completed",
            "type": "contract_execution",
            "value": "0",
            "description": "Contract execution",
            "received": [
                {
                    "name": "FISH",
                    "symbol": "FISH",
                    "token_id": "0x3a3df212b7aa91aa0402b9035b098891d276572b",
                    "decimals": 18,
                    "value": "2212129214696656269"
                }
            ]
        },
        {
            "id": "0x966d606c06b8d687bca6eccf6aae577f77c0c8050b92888fc51eb90f98cc843a",
            "from": "0xea7c361c0e7c1893b9cc717f313942c87b5f388a",
            "to": "0x8cfd1b9b7478e7b0422916b72d1db6a9d513d734",
            "fee": "116909000000000",
            "date": 1622705873,
            "status": "completed",
            "type": "contract_execution",
            "value": "0",
            "description": "Contract execution",
            "received": [
                {
                    "name": "FISH",
                    "symbol": "FISH",
                    "token_id": "0x3a3df212b7aa91aa0402b9035b098891d276572b",
                    "decimals": 18,
                    "value": "203113006310226184"
                }
            ]
        },
        {
            "id": "0x671adf507dce9cc9de3bba6242439848be07758806a9763234bfddb8f541dd3b",
            "from": "0xea7c361c0e7c1893b9cc717f313942c87b5f388a",
            "to": "0x8cfd1b9b7478e7b0422916b72d1db6a9d513d734",
            "fee": "116589000000000",
            "date": 1622705871,
            "status": "completed",
            "type": "contract_execution",
            "value": "0",
            "description": "Contract execution",
            "received": [
                {
                    "name": "FISH",
                    "symbol": "FISH",
                    "token_id": "0x3a3df212b7aa91aa0402b9035b098891d276572b",
                    "decimals": 18,
                    "value": "446250602327510900"
                }
            ]
        },
        {
            "id": "0xbebd7a808f3757e3c4257fbed5209d5e513bb9ce216e2d03e20aa108a04f99ee",
            "from": "0xea7c361c0e7c1893b9cc717f313942c87b5f388a",
            "to": "0x8cfd1b9b7478e7b0422916b72d1db6a9d513d734",
            "fee": "139161000000000",
            "date": 1622705869,
            "status": "completed",
            "type": "contract_execution",
            "value": "0",
            "description": "Contract execution",
            "received": [
                {
                    "name": "FISH",
                    "symbol": "FISH",
                    "token_id": "0x3a3df212b7aa91aa0402b9035b098891d276572b",
                    "decimals": 18,
                    "value": "1673411657953178229"
                }
            ]
        },
        {
            "id": "0x9b2643fe7e82bc552922eefd7af0a60b9f9792651ef99c565242c077f9039c01",
            "from": "0xea7c361c0e7c1893b9cc717f313942c87b5f388a",
            "to": "0x8cfd1b9b7478e7b0422916b72d1db6a9d513d734",
            "fee": "138534000000000",
            "date": 1622667218,
            "status": "completed",
            "type": "contract_execution",
            "value": "0",
            "description": "Contract execution",
            "sent": [
                {
                    "token_id": "0x289cf2b63c5edeeeab89663639674d9233e8668e",
                    "decimals": 0,
                    "value": "146387785084822586449"
                }
            ]
        },
        {
            "id": "0x72e4b86e451ea761fcced364d359e7d2fabfa182d4ae5aa85b72e42617c90bb1",
            "from": "0xea7c361c0e7c1893b9cc717f313942c87b5f388a",
            "to": "0xa5e0829caced8ffdd4de3c43696c57f7d7a678ff",
            "fee": "168600000000000",
            "date": 1622667172,
            "status": "completed",
            "type": "swap",
            "value": "821367755575520984437",
            "description": "Swapped 32.9924 FISH and 821.364 WMATIC  for 146387785084822600000 ",
            "received": [
                {
                    "token_id": "0x289cf2b63c5edeeeab89663639674d9233e8668e",
                    "decimals": 0,
                    "value": "146387785084822586449"
                }
            ],
            "sent": [
                {
                    "name": "FISH",
                    "symbol": "FISH",
                    "token_id": "0x3a3df212b7aa91aa0402b9035b098891d276572b",
                    "decimals": 18,
                    "value": "32992373595613295651"
                },
                {
                    "name": "WMATIC",
                    "symbol": "WMATIC",
                    "token_id": "0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270",
                    "decimals": 18,
                    "value": "821363959449391891002"
                }
            ]
        },
        {
            "id": "0x9facc81218334736da483505a4f4b978d7f3b018af5de347cd028902b90edf02",
            "from": "0xea7c361c0e7c1893b9cc717f313942c87b5f388a",
            "to": "0xa102072a4c07f06ec3b4900fdc4c7b80b6c57429",
            "fee": "190756000000000",
            "date": 1622667132,
            "status": "completed",
            "type": "swap",
            "value": "0",
            "description": "Swapped 163868882833488450000  for 32.8215 FISH and 821165186959395900000  ",
            "received": [
                {
                    "name": "FISH",
                    "symbol": "FISH",
                    "token_id": "0x3a3df212b7aa91aa0402b9035b098891d276572b",
                    "decimals": 18,
                    "value": "32821510165123164008"
                },
                {
                    "token_id": "0x4c28f48448720e9000907bc2611f73022fdce1fa",
                    "decimals": 0,
                    "value": "821165186959395848439"
                }
            ],
            "sent": [
                {
                    "token_id": "0x9e2fbb31fbd68472f6cd54a1635b8cd64d78fc1c",
                    "decimals": 0,
                    "value": "163868882833488432385"
                }
            ]
        },
        {
            "id": "0x787b0554f33b05aa47c85508302c622009bd2228fa429817ecabc039c1e08dba",
            "from": "0xea7c361c0e7c1893b9cc717f313942c87b5f388a",
            "to": "0x8cfd1b9b7478e7b0422916b72d1db6a9d513d734",
            "fee": "119047000000000",
            "date": 1622667102,
            "status": "completed",
            "type": "contract_execution",
            "value": "0",
            "description": "Contract execution",
            "received": [
                {
                    "name": "FISH",
                    "symbol": "FISH",
                    "token_id": "0x3a3df212b7aa91aa0402b9035b098891d276572b",
                    "decimals": 18,
                    "value": "147580096483166"
                },
                {
                    "token_id": "0x9e2fbb31fbd68472f6cd54a1635b8cd64d78fc1c",
                    "decimals": 0,
                    "value": "163868882833488432385"
                }
            ]
        },
        {
            "id": "0xe883bd47941a16f441dd1ac5f895d7b03f678c6083687ee07a25669f5261081f",
            "from": "0xea7c361c0e7c1893b9cc717f313942c87b5f388a",
            "to": "0x8cfd1b9b7478e7b0422916b72d1db6a9d513d734",
            "fee": "116613000000000",
            "date": 1622667086,
            "status": "completed",
            "type": "contract_execution",
            "value": "0",
            "description": "Contract execution",
            "received": [
                {
                    "name": "FISH",
                    "symbol": "FISH",
                    "token_id": "0x3a3df212b7aa91aa0402b9035b098891d276572b",
                    "decimals": 18,
                    "value": "164189634027360659"
                }
            ]
        },
        {
            "id": "0xacfb75be827ecd738c14dbcabe285865cdffcef48a4a019fdd63159b3ba4e49a",
            "from": "0xea7c361c0e7c1893b9cc717f313942c87b5f388a",
            "to": "0x8cfd1b9b7478e7b0422916b72d1db6a9d513d734",
            "fee": "138896000000000",
            "date": 1622653066,
            "status": "completed",
            "type": "contract_execution",
            "value": "0",
            "description": "Contract execution",
            "received": [
                {
                    "name": "FISH",
                    "symbol": "FISH",
                    "token_id": "0x3a3df212b7aa91aa0402b9035b098891d276572b",
                    "decimals": 18,
                    "value": "6526216366287818"
                }
            ],
            "sent": [
                {
                    "token_id": "0x9e2fbb31fbd68472f6cd54a1635b8cd64d78fc1c",
                    "decimals": 0,
                    "value": "16070306802807159990"
                }
            ]
        },
        {
            "id": "0x54d47d540ab25e4b133cae31963c44029c223b6b57d5abfbab4112cc7323ccae",
            "from": "0xea7c361c0e7c1893b9cc717f313942c87b5f388a",
            "to": "0xa102072a4c07f06ec3b4900fdc4c7b80b6c57429",
            "fee": "168647000000000",
            "date": 1622653024,
            "status": "completed",
            "type": "contract_execution",
            "value": "80486135445880967863",
            "description": "Contract execution",
            "received": [
                {
                    "token_id": "0x9e2fbb31fbd68472f6cd54a1635b8cd64d78fc1c",
                    "decimals": 0,
                    "value": "16070306802807159990"
                }
            ],
            "sent": [
                {
                    "name": "FISH",
                    "symbol": "FISH",
                    "token_id": "0x3a3df212b7aa91aa0402b9035b098891d276572b",
                    "decimals": 18,
                    "value": "3220359008703403456"
                }
            ]
        }
    ]
}

Get Transactions Detail

GET https://stg-api.unmarshal.io/v1/matic/transactions/:txID

Description: Get the details of a single transaction through transaction hash. Eg: Fetch particular transaction details by transaction Hash from Matic

https://stg-api.unmarshal.io/v1/matic/transactions/0x068251e3f7589a08b11b0dceb4280c1f41e38a17a03380894cd19eb2e78f0de7?auth_key=VGVtcEtleQ%3D%3D

Path Parameters

Query Parameters

{
    "id": "0x012411881b0d4c8a73ace7bcf6c35d62ca6bf67eead902cd7e08bf531980b7fc",
    "from": "0xea7c361c0e7c1893b9cc717f313942c87b5f388a",
    "to": "0x8cfd1b9b7478e7b0422916b72d1db6a9d513d734",
    "fee": "112250000000000",
    "date": 1622101343,
    "status": "completed",
    "type": "contract_execution",
    "value": "0",
    "description": "Contract execution",
    "received": [
        {
            "name": "FISH",
            "symbol": "FISH",
            "token_id": "0x3a3df212b7aa91aa0402b9035b098891d276572b",
            "decimals": 18,
            "value": "38019521666629"
        }
    ]
}

Last updated