Skip to content

Commit

Permalink
fix(io): add getDelegations to AoIORead
Browse files Browse the repository at this point in the history
  • Loading branch information
dtfiedler committed Nov 14, 2024
1 parent 5479672 commit 7c30c9b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/types/io.ts
Original file line number Diff line number Diff line change
@@ -363,6 +363,9 @@ export interface AoIORead {
getGateways(
params?: PaginationParams<AoGatewayWithAddress>,
): Promise<PaginationResult<AoGatewayWithAddress>>;
getDelegations(
params: PaginationParams<AoDelegation> & { address: WalletAddress },
): Promise<PaginationResult<AoDelegation>>;
getBalance(params: { address: WalletAddress }): Promise<number>;
getBalances(
params?: PaginationParams<AoBalanceWithAddress>,

0 comments on commit 7c30c9b

Please sign in to comment.