Skip to main content
The Python SDK provides comprehensive access to Hive blockchain APIs through the api property of the chain interface. All API calls are fully async and type-safe.

Available APIs

The SDK includes three core APIs by default:
  • Database API - Query blockchain data (accounts, blocks, witnesses, etc.)
  • Network Broadcast API - Broadcast transactions to the network
  • RC API - Query Resource Credit information

Accessing APIs

Database API

Query blockchain data and state.

Account operations

Block operations

Dynamic global properties

Witness operations

Feed and price operations

Content operations

Proposal operations

RC API

Query Resource Credit information.

Network Broadcast API

Broadcast transactions to the network.

Extending the API

Add custom endpoints or override existing ones.

Override existing API

Add new API

Create API collection

Use extended API

Extend REST API

For REST-style endpoints:

Error handling

Complete example

Next steps

Transactions

Learn about building and broadcasting transactions

Examples

See complete working examples