emulator.emulator.addressof
Home > @blaze-cardano/emulator > Emulator > addressOf
Emulator.addressOf() method
Returns the current change address for a labelled wallet, creating the wallet if it has not been initialised yet.
Signature:
addressOf(label: string): Promise<Address>;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
label |
string |
Identifier of the wallet to query. |
Returns:
Promise<Address>
{Promise
} Resolves to the wallet's change address.