Skip to main content

gRPC API

The agent communicates with the Silvana orderbook server via 4 gRPC services defined in proto/silvana/*/v1/*.proto.
ServiceProtoRoleStreaming
DAppProviderServiceledger/v1/*.protoTwo-phase
transaction signing,
balance and
contract queries
Server-streaming
(GetActiveContracts,
GetUpdates)
SettlementServicesettlement/v1/settlement.protoDVP settlement
orchestration,
RFQ handling
Bidirectional
(SettlementStream)
OrderbookServiceorderbook/v1/orderbook.protoOrder submission,
market data,
RFQ initiation
Server-streaming
(SubscribeOrderbook,
SubscribeOrders,
SubscribeSettlements)
PricingServicepricing/v1/pricing.protoExternal price
feeds (Binance,
ByBit, CoinGecko)
Server-streaming
(StreamPrices)
Access gRPC APIs below.

Execution API

Place orders and execute trades.

Pricing API

Get live and historical prices.

Settlement API

Track and manage trade settlement.

Ledger Gateway API

Query the ledger and submit txs.