Add Whitelisted Contract Linked to DApp

This API allows you to add a whitelisted contract linked to a decentralized application (DApp) within a specified instance

API Specification

Add Whitelisted Contract Linked to DApp

POST https://api.krypcore.com/api/v0/gasless/addWhitelistedContractLinkedToDApp

Add Whitelisted Contract Linked to DApp under the given instance.

Headers

Name
Type
Description

Authorization*

String

User Auth key obtained

Request Body

Name
Type
Description

contractAddress*

String

The address of the contract that needs to be added to the whitelist

contractName*

String

The name of the contract

linkedDAppId*

String

The ID of the DApp that linked to the contract

gasLimitConfigured*

Number

The configured gas limit for the transaction

chainId

Number

chain id

{
    "data": null,
    "message": "Whitelisted contract created successfully",
    "status": true
}

Take a look at how you might call this method using our official libraries, or via curl

Last updated

Was this helpful?