Biconomy Gasless SDK (EOA)
DashboardMediumWebsite
  • 🚀Getting Started
  • Introduction
    • 🤘Why Biconomy?
    • 🙂How we simplify transactions
  • Products
    • 💸Gasless Transactions
      • Choose An Approach to Enable Gasless
        • Standard EIP 2771 Approach
          • 1. Register Artifacts on the Dashboard
          • 2. Code Changes
            • Using SDK
            • Using API
        • Custom Implementation Approach
          • 1. Register Artifacts on the Dashboard
          • 2. Code Changes
            • Using SDK
            • Using API
        • Smart Contract Wallet Approach
          • Gnosis
        • Network Agnostic Transactions
          • EIP-2771 Approach
          • Custom Approach
      • Conditional Whitelisting
      • Gasless SDK (EOA) 3
      • Networks Supported
    • ↔️Hyphen - Instant Cross-Chain Transfers
      • SDK
        • DepositManager
        • TransferManager
        • TokenManager
      • APIs
      • Helper Methods
      • Migrating from Hyphen V1
      • Contract Addresses
      • Hyphen Widget
  • Guides
    • 💻Dashboard
      • DApp Statistics
    • ⛽Gas Tank Deposits
      • Via Dashboard
      • Via Smart Contract
  • api
    • 🔧Native Meta Transaction
      • Get Retried Hashes
    • 🌎Dashboard APIs
    • ⚪Whitelist API
      • Whitelist Destination Address
      • Whitelist Proxy Contracts
    • 〰️ Check Limits
    • 💿Biconomy Data API
      • 👨‍🚀Unique User Data
      • 🧑‍🔧Per User Limits Data
      • ⛽Gas Tank Balance Data
  • SDK
    • 📙Gasless SDK (EOA)
      • Configuration
  • Tutorials
    • 🔰Native Meta Transactions
      • How To Build Your First DApp
        • Write Your First Smart Contract
        • Initialize Web3 on Client Side
        • Executing First Blockchain Transaction
      • Enable Native Meta Transactions
        • Smart Contract
          • Describe Your Structs
          • Declare Your Variables
          • Modify Respective Function
        • Client Side
          • Design Your JSON structure
          • Design Your Domain Separator
          • Design Data Types
          • Define Data To Sign
          • Generate Signatures
      • Integrate Biconomy
        • Register On Dashboard
        • Integrate Gasless SDK (EOA)
      • Summary
  • BICO Staking
    • 🪁Safety Module
  • Get in touch
    • 👥Contact Us
  • Misc
    • 🧩Projects on Biconomy
    • 🌐Supported Networks
    • 📫Contract Addresses
    • ✔︎ Smart Contracts Audit
    • ❓FAQs
Powered by GitBook
On this page

Was this helpful?

  1. api
  2. Whitelist API

Whitelist Destination Address

Authorize your DApp User's Destination Contracts

PreviousWhitelist APINextWhitelist Proxy Contracts

Last updated 4 years ago

Was this helpful?

If you have implemented native meta transactions via 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 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

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"
    ]
}
{
    "code": 400,
    "message": "Enter valid contract address "
}
{
    "code": 401,
    "message": "Not Authorized"
}
⚪
external contract wallet approach
generated an access token