Skip to main content

Anonymous Account

Anonymous accounts are one of the two types of Accounts in Runes3. They represent a set of methods that can query info about a specific address on chain (the utxos they own, their Runes balance, etc).

To create an AnonymousAccount you simply pass the string of the address you want to query info from on the Runes3.getAccount method.

const Runes = new Runes3("https://runes.satsignal.io/v1");
const Account = await Runes.getAccount(
"bc1pdcy7dw547w8qle3ltc3efulsv2ng66pwy3fwcxpphmn8ghc5sxfsgh72la"
);

/*
Account is now an AnonymousAccount object and has access
to its methods.
*/