Whitelist Destination Address

Authorize your DApp User's Destination Contracts

If you have implemented native meta transactions via external contract wallet approach like gnosis or argent, you need to whitelist all Destination contracts where your proxy contracts will relay the transactions.

This guide will help you whitelist destination contracts.

Before using this API, make sure you have generated an access token from the dashboard which is visible in you View DApp section on dashboard.

/api/v1/dapp/whitelist/destination

POST https://api.biconomy.io/api/v1/dapp/whitelist/destination

Headers

NameTypeDescription

Authorization

string

Auth Token generated from the dashboard. This is specific to the DApp registered and should be in the format "User <token generated>"

Request Body

NameTypeDescription

destinationAddresses

array

Array of destination contract addresses to be whitelisted.

{
    "code": 200,
    "message": "Addresses whitelisted successfully except duplicate addresses or invalid addresses",
    "registeredCount": 0,
    "duplicateContracts": [
        "0xf676922ba0564b6925bc9142cxxxxxxxxxxx"
    ],
    "invalidContracts": [
        "0xf676922ba0xxxxxxx"
    ]
}

Last updated