Spokes
Learn how to discover available spokes in Aave v4.
Spoke Data Structure
Spoke data provide information about individual borrowing modules, including:
Identification: id, name, address, chain
Configuration: active status and module settings
- TypeScript
- GraphQL
- Solidity
The following TypeScript interfaces illustrate the core Spoke type:
Listing Available Spokes
Discover all available Aave Spokes across supported networks.
- React
- TypeScript
- GraphQL
- Solidity
Use the useSpokes hook to fetch a list of available spokes.
See below for some examples of how to use the useSpokes hook.
Fetching a Single Spoke
Fetch a specific spoke by its address and chain ID.
- React
- TypeScript
- GraphQL
Use the useSpoke hook to fetch a specific spoke.
See below for examples of how to use the useSpoke hook.