You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
serviceViewService {
// …rpcLatestSwaps(LatestSwapsRequest) returns (streamLatestSwapsResponse);
}
messageLatestSwapsRequest {
// If present, filter balances to only include the account specified by the `AddressIndex`.core.keys.v1.AddressIndexaccount_filter=1;
// If present, filter balances to only include trading activity on the specified pair.core.dex.v1.DirectedTradingPairpair=2;
// If present, limit the responses to activity that occured after this block height.uint64after_height=3;
// Limit the response to the last entries within `response_limit`.uint64response_limit=4;
}
messageLatestSwapsResponse {
core.dex.v1.DirectedTradingPairpair=1;
core.asset.v1.Valueinput=2;
core.asset.v1.Valueoutput=3;
uint64block_height=4;
core.txhash.v1.TransactionIdid=5;
}
In order to render
My Trades
, we need to make a collection of changes across the application stack:ViewService
with a method to query latest activity #320Docs: https://buf.build/penumbra-zone/penumbra/docs/main:penumbra.view.v1
Suggested API:
LatestSwaps
in prax #326The text was updated successfully, but these errors were encountered: