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

Request Body

{
    "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

curl --location 'https://api.krypcore.com/api/v0/gasless/addWhitelistedContractLinkedToDApp' \
--header 'Authorization: 03374415-xxxx-xxxx-xxxx-1277d243034e' \
--header 'Content-Type: application/json' \
--data '{
"contractAddress": "0x5443702dd8eb3e26c31a20b81fcfd292cfxxxxxx",
"contractName": "demo",
"linkedDAppId": "DEV_DEMO_PACE_46_xxxxxxxx",
"gasLimitConfigured": 0.5,
"chainId": 80001
}'

Last updated