Strategy API

Get Supported Chains and Protocols#

Retrieve the list of chains and their corresponding protocols supported by Meme Pump.

Request URL#

GET https://web3.okx.com/api/v6/dex/market/memepump/supported/chainsProtocol

Request Parameters#

None

Response Parameters#

ParameterTypeDescription
chainIndexStringChain unique identifier (e.g., 501 = Solana, 56 = BSC).
protocolListArrayList of supported protocols on this chain.
>protocolIdStringProtocol ID (e.g., 1 = PUMP_FUN).
>protocolNameStringProtocol name (e.g., PUMP_FUN, SUNPUMP).

Request Example#

Shell
curl --location --request GET 'https://web3.okx.com/api/v6/dex/market/memepump/supported/chainsProtocol' \
--header 'OK-ACCESS-KEY: 37c541a1-****-****-****-10fe7a038418' \
--header 'OK-ACCESS-SIGN: leaV********3uw=' \
--header 'OK-ACCESS-PASSPHRASE: 1****6' \
--header 'OK-ACCESS-TIMESTAMP: 2023-10-18T12:21:41.274Z'

Response Example#

Json
{
  "code": "0",
  "msg": "",
  "data": [
    {
      "chainIndex": "501",
      "chainName": "Solana",
      "protocolList": [
        { "protocolId": "1", "protocolName": "PUMP_FUN" },
        { "protocolId": "2", "protocolName": "MOONSHOT" }
      ]
    },
    {
      "chainIndex": "56",
      "chainName": "BSC",
      "protocolList": [
        { "protocolId": "3", "protocolName": "SUNPUMP" }
      ]
    }
  ]
}