Home

Generate blocks

POST
https://xmr.nownodes.io/json_rpc

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Generates a number of blocks and returns their hashes.

Body

application/json
jsonrpcstring
idstring
methodstring
paramsobject
Show child attributes
wallet_addressstring

Address to receive the coinbase rewards

amount_of_blocksinteger

Number of blocks to generate

reserve_sizeinteger

Extra space reserved for miner data

Response

200OK

Blocks generated

400Bad Request

Bad Request - missing or invalid parameters

403Forbidden

Forbidden

404Not Found

Not Found

500Internal Server Error

Internal server error