add account details

This commit is contained in:
liangping committed 2023-04-20 18:44:25 +08:00
1 parent d6d56ba7c0
commit fc8aab6ce0
8 files changed
+246 -11

No files matched your search

+9 -1
View File
@@ -1,4 +1,4 @@
import type { PaginatedResponse } from "./common"
import type { Coin, PaginatedResponse } from "./common"
export interface DistributionParams {
params: {
@@ -9,6 +9,14 @@ export interface DistributionParams {
}
}
export interface DelegatorRewards {
rewards: {
validator_address: string,
reward: Coin[],
}[],
total: Coin[],
}
export interface PaginatedSlashes extends PaginatedResponse {
slashes: any[]
}