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.
Parameter | Type | Required | Description |
---|---|---|---|
coin | string | ✓ | Coin ticker whose address should be returned (e.g. ETH , MATIC ). |
path_to_address | object | ✗ | Optional 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. |
Parameter | Type | Description |
---|---|---|
coin | string | Coin ticker, echoes the request value. |
wallet_address | string | Wallet 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"
}
}
Parameter | Type | Description |
---|---|---|
CoinsConfCheckError | string | The coin is not present in the local coins configuration file. |
CoinIsNotSupported | string | The specified coin does not support get_my_address (non-EVM coin). |
InvalidRequest | string | Malformed JSON or missing required fields. |
Internal | string | Unhandled internal error. |
GetEthAddressError | string | Failed to derive Ethereum address from HD keys. |