Skip to main content

/program-id-to-label REST API Endpoint

Returns a hash, whose key is the program id and value is the label. This is used to help map error from transaction by identifying the fault program id. With that, we can use the excludeDexes or dexes parameter

Updated on
May 23, 2024

/program-id-to-label REST API Endpoint

Please note that this method is available for Free and Paid subscribers of Metis - Jupiter V6 Swap API, along with jupiterapi.com users.

Parameters

This method does not accept any parameters

Returns

Key:Value
object
The key value pair, key is the program id and value is the label
Request
1
curl --location 'https://docs-demo.solana-mainnet.quiknode.pro/program-id-to-label'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free