Rest API And GRPC

The following API's are recommended for development purposes. For maximum control and reliability it's recommended to run your own node.

Network

Quickly connect your app or client to Fiamma public testnets. You can check the network page for information about the current test network

GRPC, Rest, and CometBFT Endpoints

The Fiamma RPC interface includes basic query interfaces for the Tendermint consensus, and the API includes basic interfaces related to Cosmos, as well as interfaces for the unique zkpverify module of the Fiamma network.

NameDescriptionLink

Fiamma Rest API

Query or send Fiamma transactions using an HTTP restful API

Fiamma RPC

Query transactions, blocks, consensus state, broadcast transactions, etc.

FIamma GRPC

Using a predefined proto data structure, grpc requests can be sent to the fiamma network for transactions and queries.

Rest API Info

The list of all REST APIs supported by Fiamma can be obtained from the Swagger documentation.

API-Msg

Fiamma's zkverify RPC message modules all start with /fiamma.zkpverify.Msg/, followed by the message name. These requests are all POST requests

API-Query

Fiamma's zkpverify RPC query modules all start with /fiamma.zkpverify/, followed by the query name. These requests are all GET requests

GRPC Info

fiamma supports grpc requests, you can build grpc requests using any language sdk that supports grpc clients, a list of fiamma defined proto files can be found in Proto Buff

Proto Buff

All messages and queries of the fiamma network are defined in proto buff files, which can be found in buf.build.

Note! All gRPC requests will correspond to a REST request. For instance, querying pendingProof could be done via the /fiamma.zkpverify.Query/PendingProof gRPC endpoint, or alternatively via the gRPC-gateway /fiamma/zkpverify/pending_proof REST endpoint: both will return the same result.

Last updated