List All Protocol Configs

The "List All Protocol Configs" API endpoint provided by Krypcore allows users to retrieve information about all protocol configurations under a specific instance.

API Specification

List All Protocol Config

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

List All Protocol Config under the given instance.

Headers

NameTypeDescription

Authorization*

String

User Auth key obtained

Request Body

NameTypeDescription

page*

String

Number of pages

limit*

String

Limit of protocol configurations shown per page

searchValue

String

Search value for filtering protocol configurations

searchIn

String

Field to search within the protocol configuration list

filterValue

String

Value for filtering the protocol configuration list

filterIn

String

Field to apply the filter on

userId*

String

Dapp ID or user ID associated with the request

{
    "data": {
        "data": [],
        "limit": 5,
        "page": 1,
        "total": 0
    },
    "message": "Protocol configuration details fetched 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/listAllProtocolConfig' \
--header 'Authorization: 81d4a427-xxxx-xxxx-xxxx-f8482816e872' \
--header 'Content-Type: application/json' \
--data '{
    "page": 1,
    "limit": 5,
    "searchValue": "",
    "searchIn": [],
    "filterValue": "",
    "filterIn": [],
    "userId":"DEV_GSTE_75_xxxxxx"
}'

Last updated