Get Protocol Config using userId and ChainId

The "Get Protocol Config" API endpoint provided by Krypcore allows users to retrieve protocol configurations under a given instance based on the provided user ID and Chain ID.

API Specification

Get Protocol Config

POST https://api.krypcore.com/api/v0/gasless/getProtocolConfig/userIdAndChainId

Get Protocol Config under the given instance.

Headers

Name
Type
Description

Authorization*

String

User Auth key obtained

Request Body

Name
Type
Description

chainId*

String

Chain ID representing the blockchain protocol

dAppId*

String

Dapp ID associated with the application.

{
    "data": null,
    "message": "fetched protocol and gas config details",
    "status": true
}

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

Last updated

Was this helpful?