On this page

Get My Address

API-v2get_my_address

The get_my_address method returns the currently enabled wallet address for a given coin without performing a full coin activation.
It is mostly useful in thin-client scenarios where the application needs to display (or re-use) the main address of an already-configured EVM coin.

• The method is limited to coins that use the ETH protocol type (Ethereum, EVM side-chains, and ERC-20 tokens).
• The coin must be present in your coins configuration file. No activation is triggered by this RPC.

ParameterTypeRequiredDescription
coinstringCoin ticker whose address should be returned (e.g. ETH, MATIC).
path_to_addressobjectOptional HD-wallet path segment identifying the account and address index to derive. If omitted, the default external address (m/44'/coin_type'/0'/0/0) is used.

ParameterTypeDescription
coinstringCoin ticker, echoes the request value.
wallet_addressstringWallet address for the specified coin.

Get My Address

POST
get_my_address
{
  "userpass": "RPC_UserP@SSW0RD",
  "mmrpc": "2.0",
  "method": "get_my_address",
  "id": 0,
  "params": {
    "coin": "ETH"
  }
}

ParameterTypeDescription
CoinsConfCheckErrorstringThe coin is not present in the local coins configuration file.
CoinIsNotSupportedstringThe specified coin does not support get_my_address (non-EVM coin).
InvalidRequeststringMalformed JSON or missing required fields.
InternalstringUnhandled internal error.
GetEthAddressErrorstringFailed to derive Ethereum address from HD keys.