open-libra-sdk
Version:
A minimalist Typescript library for interacting with the Open Libra blockchain.
11 lines • 765 B
TypeScript
import { Network, Aptos, type MoveStructId, type AnyRawTransaction, AccountAuthenticatorEd25519, type CommittedTransactionResponse, AccountAddress, AuthenticationKey } from "@aptos-labs/ts-sdk";
export declare const MAINNET_URL: string;
export declare const TESTNET_URL: string;
export declare const DOCKER_URL: string;
export declare class LibraClient extends Aptos {
constructor(network?: Network, fullnode?: string);
getResource<T extends object>(account: string, struct_id: MoveStructId): Promise<T>;
submitAndWait(transaction: AnyRawTransaction, authenticator: AccountAuthenticatorEd25519): Promise<CommittedTransactionResponse>;
getOriginatingAddress(authkey: AuthenticationKey): Promise<AccountAddress>;
}
//# sourceMappingURL=client.d.ts.map