ACCOUNT

ACCOUNT methods handle operations that have to do with counterfactual account contracts.

ACCOUNT methods‌

sdk.

  • createAccount()

  • resetAccount()

  • getAccountAuthKeys()

  • getAccountEvents()

createAccount(address)

Generates an account address.

This method takes a single parameter: an address address value that can serve as the account address. If no address value is provided, a random hexadecimal account address will be generated.

resetAccount()

Resets the Abridged SDK and removes any account address associated with the current active session.

getAccountAuthKeys(page)

Returns a list of auth keys associated with the account address.

This method takes a single parameter: a page number value that lists the paginated auth keys associated with the account address.

getAccountEvents(page)

Returns a list of events output by the account contract.

This method takes a single parameter: a page number value that lists the events output by the account contract.

If you encounter any bugs or issues, let us know in our early access Telegram chat group and we'd love to help!