Hatchfi API Audit Endpoint

What is an audit endpoint?

Raw data is a compelling supporting feature in Hatchfi. An audit endpoint is an endpoint that returns raw data in addition to the structured mapped data from either an exchange or blockchain protocol. Hatchfi retrieves crypto data for the connected end-user account when an account is connected or synced.

The raw format is what we call our Audit Data. This is available to help developers confirm the validity of accounts, transactions, and balances, as well as to provide a referenceable source of truth to compare to the mapped data. Developers can also leverage this data to build unique app experiences with access to specific and unique data in a particular exchange or blockchain.

Currently, Hatchfi audit data is supported on our Growth and enterprisepaid subscription plans.

To get started with using audit, check out the endpoint here.

[
    {
        "userId": "hatchfi-test-portfolio",
        "clientId": "b2ffb6ac241641e1120f13a5ddf37ef238d0fcba58b72f2ffd623890b7a65408",
        "accountId": "0a625bc3-8249-4a57-9a03-71ce06e7520d",
        "provider": "polygon",
        "dataType": "balance",
        "data": {
            "data": {
                "address": "0x57571d366a00b3389b0adf30a114bc7da7a11580",
                "updated_at": "2022-12-11T17:17:26.895577192Z",
                "next_update_at": "2022-12-11T17:22:26.895577662Z",
                "quote_currency": "USD",
                "chain_id": 137,
                "items": [
                    {
                        "contract_decimals": 18,
                        "contract_name": "Matic Token",
                        "contract_ticker_symbol": "MATIC",
                        "contract_address": "0x0000000000000000000000000000000000001010",
                        "supports_erc": [
                            "erc20"
                        ],
                        "logo_url": null,
                        "last_transferred_at": null,
                        "native_token": true,
                        "type": "cryptocurrency",
                        "balance": "2567074973142486455847965",
                        "balance_24h": "2567074973142486455847965",
                        "quote_rate": 0.9112473,
                        "quote_rate_24h": 0.9120353,
                        "quote": 2339240.2,
                        "quote_24h": 2341263,
                        "nft_data": null
                    },
                    ...
                ],
                "pagination": null
            },
            "error": false,
            "error_message": null,
            "error_code": null
        },
        "summary": {
            "numOfCalls": 1
        },
        "createdAt": "2022-12-11T17:17:26.955Z"
    },
  ...
  ]