getAddress
getAddress
returns the EOA address of the ArcanaAuthSigner
.
This method must be called after authenticate
. Otherwise, this method will throw an error with the message Not Authenticated
.
Usage
example.ts
import { createArcanaAuthSigner } from "./arcana-auth";
const newArcanaAuthSigner = await createArcanaAuthSigner();
const address = await newArcanaAuthSigner.getAddress();
Returns
Promise<Address>
A Promise
containing the address of the ArcanaAuthSigner
.