gRPC API
The agent communicates with the Silvana orderbook server via 4 gRPC services defined inproto/silvana/*/v1/*.proto.
| Service | Proto | Role | Streaming |
|---|---|---|---|
DAppProviderService | ledger/v1/*.proto | Two-phase transaction signing, balance and contract queries | Server-streaming ( GetActiveContracts, GetUpdates) |
SettlementService | settlement/v1/settlement.proto | DVP settlement orchestration, RFQ handling | Bidirectional ( SettlementStream) |
OrderbookService | orderbook/v1/orderbook.proto | Order submission, market data, RFQ initiation | Server-streaming ( SubscribeOrderbook, SubscribeOrders, SubscribeSettlements) |
PricingService | pricing/v1/pricing.proto | External 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.