⚡ Test Our Private Nodes of 40+ Blockchains just for $50!

coins coins coins coins

Method: POST personal_initializeWallets

dropdown

# personal_initializeWallets example for Ethereum (ETH)

POST personal_initializeWallets

Method not allowed

Initializes a new wallet at the provided URL by generating and returning a new private key.

Parameters

url - string

None

Request

curl --location --request POST 'https://geth.getblock.io/mainnet/' \
--header 'x-api-key: YOUR-API-KEY' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0",
"method": "personal_initializeWallets",
"params": [null],
"id": "getblock.io"}'


Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}