OneSource Web3 API Reference

OneSource Web3 API schema visualization in GraphQL Voyager
GraphQL Endpoints
The OneSource Web3 API receives requests at the following endpoint URLs:
- Ethereum Mainnet: https://api.onesource.io/v1/ethereum/graphql
- Optimism: https://api.onesource.io/nftindexer/optimism/graphql
- Sepolia Testnet: https://api.onesource.io/nftindexer/sepolia/graphql
Using the API Reference
When using the API Reference, it may be helpful to refer to the GraphQL documentation for information on GraphQL terms and concepts.
Defined below are terms as they relate to this API Reference.
Queries
The root Type
that is the entry point for all read operations.
Term | Description |
---|---|
Arguments | Customizes Query behavior. |
Types | Usually an Object , what constitutes a response to a Query . |
Types
Types
define the shape and structure of the data received in response to a Query
.
Term | Description |
---|---|
Fields | A unit of data that can be requested from a Type . |
Implemented By | Specifies which Types use this Interface . |
Member Of | The schema components of which this Type is a constituent. |
Returned By | The Types that return this Type as a response. |
Values | Predefined, named constants that represent the only valid options for a Field or Argument . |