Actions27
- Contract Event Actions
- Contract Method Actions
- Prompt Actions
- Transaction Actions
- Wallet Actions
- X402 Request Actions
- Chain Actions
Chain → List Chains
AI-generatedOverview
This node interacts with the 1Shot API to list blockchain chains. It is useful for retrieving paginated lists of supported blockchain chains, which can be used in blockchain-related workflows such as querying chain data or managing blockchain resources. For example, a user can specify the page number and page size to fetch a specific subset of chains from the API.
Use Case Examples
- Retrieve the first page of blockchain chains with a page size of 25 to display available chains in a dashboard.
- Fetch the second page of chains with a page size of 10 to process or analyze specific blockchain networks.
Properties
| Name | Meaning |
|---|---|
| Page Number | The page number to retrieve, starting at 1. |
| Page Size | The number of chains to retrieve per page. |
Output
JSON
json- Each item represents a blockchain chain object returned from the 1Shot API's list chains operation.
Dependencies
- 1Shot API OAuth2 credential for authentication
Troubleshooting
- Ensure the OAuth2 API credentials are correctly configured and valid to avoid authentication errors.
- If the API returns an error, check that the page number and page size are within valid ranges supported by the API.
- Network or connectivity issues may cause request failures; verify network access to the 1Shot API endpoint.
Links
- 1Shot API - List Chains - Official documentation for the List Chains operation in the 1Shot API.