Chains and Tokens
Get Supported Networks
Learn how to retrieve network and token information using the Okto SDK.
Methods Overview
Methods | Description |
---|---|
async getSupportedNetworks | Get all whitelisted networks |
async getSupportedTokens | Get all whitelisted tokens |
Get all supported networks
async getSupportedNetworks()
retrieves all the whitelisted networks on your API Key.
Parameters
There are no parameters for this function.
Response
Success Response
Field Name | Type | Description |
---|---|---|
result | Future<NetworkDetails> | Returns list of whitelisted networks |
Get all supported tokens
async getSupportedTokens()
retrieves all the whitelisted networks on your API Key.
Parameters
There are no parameters for this function.
Response
Success Response
Field Name | Type | Description |
---|---|---|
result | Future<TokenResponse> | Returns list of whitelisted tokens |