Optional
initOverrides: RequestInit | InitOverrideFunctionDEPRECATED, please use /tokens for tradable mints. Returns a hash map, input mint as key and an array of valid output mint as values, token mints are indexed to reduce the file size GET /indexed-route-map
Optional
initOverrides: RequestInit | InitOverrideFunctionProtected
isCheck if the given MIME is a JSON MIME. JSON MIME examples: application/json application/json; charset=UTF8 APPLICATION/JSON application/vnd.company+json
MIME (Multipurpose Internet Mail Extensions)
True if the given MIME is JSON, false otherwise.
Returns a hash, which 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.
GET /program-id-to-label
Optional
initOverrides: RequestInit | InitOverrideFunctionReturns a hash, which 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.
GET /program-id-to-label
Optional
initOverrides: RequestInit | InitOverrideFunctionSends a GET request to the Jupiter API to get the best priced quote. GET /quote
Optional
initOverrides: RequestInit | InitOverrideFunctionSends a GET request to the Jupiter API to get the best priced quote. GET /quote
Optional
initOverrides: RequestInit | InitOverrideFunctionProtected
requestOptional
initOverrides: RequestInit | InitOverrideFunctionReturns instructions that you can use from the quote you get from /quote
.
POST /swap-instructions
Optional
initOverrides: RequestInit | InitOverrideFunctionReturns instructions that you can use from the quote you get from /quote
.
POST /swap-instructions
Optional
initOverrides: RequestInit | InitOverrideFunctionReturns a transaction that you can use from the quote you get from /quote
.
POST /swap
Optional
initOverrides: RequestInit | InitOverrideFunctionReturns a transaction that you can use from the quote you get from /quote
.
POST /swap
Optional
initOverrides: RequestInit | InitOverrideFunctionReturns a list of all the tradable mints GET /tokens
Optional
initOverrides: RequestInit | InitOverrideFunctionReturns a list of all the tradable mints GET /tokens
Optional
initOverrides: RequestInit | InitOverrideFunctionRest
...preMiddlewares: (undefined | ((context: RequestContext) => Promise<void | FetchParams>))[]
DEPRECATED, please use /tokens for tradable mints. Returns a hash map, input mint as key and an array of valid output mint as values, token mints are indexed to reduce the file size GET /indexed-route-map