useProvider

Hook for accessing the current provider.

Use this hook to access the current provider object implementing starknet.js ProviderInterface.

Examples

This example shows how to access the current provider.