@bitte-ai/agent-sdk
Version:
Agent SDK for Bitte Protocol
13 lines • 539 B
TypeScript
export interface RpcParams {
rpcUrl?: string;
}
export interface AccountParams extends RpcParams {
accountId: string;
}
export interface FTParams extends AccountParams {
contractId: string;
}
export declare function getBalance({ accountId, rpcUrl, }: AccountParams): Promise<bigint>;
export declare function ftBalance({ contractId, accountId, rpcUrl, }: FTParams): Promise<string>;
export declare function ftStorageBalance({ contractId, accountId, rpcUrl, }: FTParams): Promise<string | null>;
//# sourceMappingURL=rpc.d.ts.map