UNPKG

@etherna/sdk-js

Version:

Etherna SDKs for operations on the network

15 lines 523 B
import type { EthernaGatewayClient } from "."; import type { RequestOptions } from ".."; export declare class PostageClient { private instance; constructor(instance: EthernaGatewayClient); /** * Topup batch (increase TTL) * * @param batchId Id of the swarm batch * @param byAmount Amount to add to the batch * @param opts Request options */ topupBatch(batchId: string, byAmount: number | string, opts?: RequestOptions): Promise<boolean>; } //# sourceMappingURL=postage.d.ts.map