1Shot API icon

1Shot API

Interact with EVM blockchains via 1Shot API

Chain → List Chains

AI-generated

Overview

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

  1. Retrieve the first page of blockchain chains with a page size of 25 to display available chains in a dashboard.
  2. 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

Discussion