To authenticate your requests, simply add a Stackup API key to the
SU-ACCESS-KEY header. As each API key is scoped to a specific network, the API results will return data within the same scope. This ensures that you receive consistent and relevant data for your intended network.
The same API key can be used for hosted nodes, bundlers, paymasters, and data access. However, if you require more granular access control, we recommend creating a new instance solely for data access. This approach allows for better management and control over the API usage and associated resources.
Updated 5 months ago