@stacks/network
Network and API library for working with Stacks blockchain nodes.
Installation
Usage
Create a Stacks mainnet, testnet or mocknet network
Set a custom node URL
Check if network is mainnet
Network usage in transaction building
Use the built-in API key middleware
Some Stacks APIs make use API keys to provide less rate-limited plans.
Use custom middleware
Middleware can be used to hook into network calls before sending a request or after receiving a response.
Get various API URLs
Last updated on