Skip to main content

listAcquiredKeyPairs

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

Gets previously acquired key pairs list.

Parameters

options

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

Source

lib/mina/fetch.ts:896