Offset

Fetch the amount of DOVU tokens that a given address needs to buy to offset its carbon footprint.

Get Offset

GET https://api.dovu.earth/api/addresses/{address}/offset

Fetch the amount of DOVU tokens that a given address needs to buy to offset its carbon footprint.

Path Parameters

NameTypeDescription

address

string

Ethereum address

{
    "data": {
        "account": "0xE284bE6e5Cb424a439D42FAfDd8bbA456175957a",
        "address_carbon_emissions": 287.1915241960503,
        "address_gas_used": 999277,
        "address_transaction_count": 7,
        "dov_per_kg": 0.1624475,
        "dov_price": 0.01039664,
        "dov_to_buy": 1767.9036254546872
    }
}

Try it out

curl https://api.calculator.dovu.earth/api/addresses/0xE284bE6e5Cb424a439D42FAfDd8bbA456175957a/offset

Last updated