Documentation ¶
Overview ¶
Package client provides grpc API implementation.
Deprecated: client is deprecated use access package instead.
Index ¶
- Variables
- type BlockEventsdeprecated
- type Clientdeprecated
- type EventRangeQuerydeprecated
- type RPCClientdeprecated
- type RPCErrordeprecated
Constants ¶
This section is empty.
Variables ¶
var New = grpc.NewBaseClient
New creates an gRPC client exposing all the common access APIs.
Deprecated: use grpc.NewClient instead. Read more in the migration guide: https://github.com/onflow/flow-go-sdk/blob/main/docs/migration-v0.25.0.md
var NewFromRPCClient = grpc.NewFromRPCClient
NewFromRPCClient initializes a Flow client using a pre-configured gRPC provider.
Deprecated: use grpc.NewFromRPCClient instead. Read more in the migration guide: https://github.com/onflow/flow-go-sdk/blob/main/docs/migration-v0.25.0.md
Functions ¶
This section is empty.
Types ¶
type BlockEvents
deprecated
type BlockEvents = flow.BlockEvents
BlockEvents are the events that occurred in a specific block.
Deprecated: use flow.BlockEvents instead. Read more in the migration guide: https://github.com/onflow/flow-go-sdk/blob/main/docs/migration-v0.25.0.md
type Client
deprecated
type Client = grpc.BaseClient
Client is an gRPC client implementing all API access functions.
Deprecated: migrate to access.Client instead or use grpc.BaseClient for grpc specific operations. Read more in the migration guide: https://github.com/onflow/flow-go-sdk/blob/main/docs/migration-v0.25.0.md
type EventRangeQuery
deprecated
type EventRangeQuery = grpc.EventRangeQuery
EventRangeQuery defines a query for Flow events.
Deprecated: use grpc.EventRangeQuery instead. Read more in the migration guide: https://github.com/onflow/flow-go-sdk/blob/main/docs/migration-v0.25.0.md
type RPCClient
deprecated
type RPCClient interface { access.AccessAPIClient }
An RPCClient is an RPC client for the Flow Access API.
Deprecated: use access.client instead. Read more in the migration guide: https://github.com/onflow/flow-go-sdk/blob/main/docs/migration-v0.25.0.md
type RPCError
deprecated
added in
v0.6.0
RPCError is an error returned by an RPC call to an Access API.
Deprecated: use grpc.RPCError instead. Read more in the migration guide: https://github.com/onflow/flow-go-sdk/blob/main/docs/migration-v0.25.0.md