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.
/api/v1/dapp/whitelist/destination
POST
https://api.biconomy.io/api/v1/dapp/whitelist/destination
Headers
Name
Type
Description
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
Name
Type
Description
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
Was this helpful?