return types

This commit is contained in:
liangping
2023-04-05 10:45:49 +08:00
parent 727f8ea026
commit 8e3c9eea0c
4 changed files with 22 additions and 9 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
import type { Coin } from "./Coin"
import type { PaginatedResponse } from "./common"
import type { Coin, PaginatedResponse } from "./common"
export interface GovParams {
"voting_params": {
+14
View File
@@ -0,0 +1,14 @@
import type { PaginatedResponse } from "./common";
export interface SigningInfo {
"address": string,
"start_height": string,
"index_offset": string,
"jailed_until": string,
"tombstoned": boolean,
"missed_blocks_counter": string
}
export interface PaginatedSigningInfo extends PaginatedResponse {
info: SigningInfo[]
}