Creates a new GrpcProvider instance
The gRPC endpoint URL
The account associated with this provider
The gRPC endpoint URL
Gets the name of the associated account
Gets the address of the associated account
Gets the name of the provider
This method cannot be implemented in the GRPC provider. Use another provider or alternative method for deploying smart contracts.
Retrieves events based on specified filters
Streams new blocks
Optional
addresses: string[]Optional list of addresses to filter by
Optional
blockIds: string[]Optional list of block IDs to filter by
Optional
slotRange: SlotRangeOptional slot range to filter by
A stream of new blocks
Streams new endorsements
Optional
addresses: string[]Optional list of addresses to filter by
Optional
endorsementIds: string[]Optional list of endorsement IDs to filter by
Optional
blockIds: string[]Optional list of block IDs to filter by
A stream of new endorsements
Streams new filled blocks
Optional
addresses: string[]Optional list of addresses to filter by
Optional
blockIds: string[]Optional list of block IDs to filter by
Optional
slotRange: SlotRangeOptional slot range to filter by
A stream of new filled blocks
Streams new operations
Optional
addresses: string[]Optional list of addresses to filter by
Optional
operationIds: string[]Optional list of operation IDs to filter by
Optional
types: OpType[]Optional list of operation types to filter by
A stream of new operations
Streams new slot execution outputs
The filters to apply to the stream
A stream of new slot execution outputs
Executes a read-only smart contract call
This method cannot be implemented in the GRPC provider. Use another provider or alternative method for signing data.
Static
buildnetStatic
fromStatic
mainnet
GrpcProvider implements the Provider interface using gRPC for Massa blockchain interactions