Skip to main content

listAcquiredKeyPairs

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

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

Gets previously acquired key pairs list.

Parameters

options

lightnetAccountManagerEndpoint

string

Account manager endpoint to fetch from

Returns

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

Key pairs list or null if the request failed