getStealthMetaAddress
Retrieves a stealth meta-address from the ERC-6538 Registry contract.
Usage
import { stealthClient } from "./client";
const stealthMetaAddress = await stealthClient.getStealthMetaAddress({
ERC6538Address,
registrant,
schemeId
});
// '0x...'
Return Value
-
Type:
HexString
The stealth meta address of the registrant.
Parameters
ERC6538Address
-
Type:
HexString
The address of the ERC-6538 Registry contract.
const stealthMetaAddress = await stealthClient.getStealthMetaAddress({
ERC6538Address,
registrant,
schemeId,
});
registrant
-
Type:
EthAddress
The identifier of the registrant, which could be an Ethereum address or an ENS name.
const stealthMetaAddress = await stealthClient.getStealthMetaAddress({
ERC6538Address,
registrant,
schemeId,
});
schemeId
-
Type:
VALID_SCHEME_ID
The ID of the stealth address scheme.
const stealthMetaAddress = await stealthClient.getStealthMetaAddress({
ERC6538Address,
registrant,
schemeId,
});