Shared Database ID
API-v2get_shared_db_id
The get_shared_db_id
method returns a 20-byte identifier (H160) derived from the node's seed phrase.
It is used as the root folder name for all SQLite databases on the host. • The value is identical for all HD accounts derived from the same seed and different for separate seeds.
Parameter | Type | Required | Description |
---|---|---|---|
None | N/A | This method has no parameters. |
Parameter | Type | Description |
---|---|---|
shared_db_id | string | 42-hex-char (H160) identifier with 0x prefix used for the node's DB directory. |
Get Shared Database ID
POST
get_shared_db_id{
"userpass": "RPC_UserP@SSW0RD",
"mmrpc": "2.0",
"method": "get_shared_db_id",
"id": 0
}
Parameter | Type | Description |
---|---|---|
Internal | string | Unhandled internal error (rare). |