Skip to main content

9 docs tagged with "gRPC"

Remote Procedure Call framework using Protocol Buffers over HTTP/2.

View all tags

Call Move View Functions

How to call Move #[view] functions with IotaGrpcClient, pass their arguments, and read what they return.

Connect to a Node

How to connect IotaGrpcClient to a public network, a custom node or localnet, and how to configure message size, health checks and cancellation.

Errors

The errors IotaGrpcClient throws or returns, what each one means, and how to tell them apart.

gRPC Client

What the @iota/grpc TypeScript client is, what it covers, and how to make a first call to a node over gRPC.

How Responses Work

The conventions every IotaGrpcClient method follows: response metadata, per-item batch results, read masks and BCS-encoded payloads.

Stream Checkpoints

How to follow the chain checkpoint by checkpoint with IotaGrpcClient.streamCheckpoints, filter what it sends, resume after a dropped stream and stop it.