Skip to main content

listAcquiredKeyPairs

function listAcquiredKeyPairs(options: {
lightnetAccountManagerEndpoint?: string;
}): Promise<
| null
| {
privateKey: PrivateKey;
publicKey: PublicKey;
}[]>;

Defined in: lib/mina/v1/fetch.ts:975

Gets previously acquired key pairs list.

Parameters

options

lightnetAccountManagerEndpoint?

string

Account manager endpoint to fetch from

Returns

Promise< | null | { privateKey: PrivateKey; publicKey: PublicKey; }[]>

Key pairs list or null if the request failed