Moonbeam Custom API

eth_accounts

Returns array of all accounts owned by the client.

Method: POST

https://moonbeam.nownodes.io

Example body (raw)

[
    {
        "jsonrpc": "2.0",
        "id": "1",
        "method": "moon_isBlockFinalized",
        "params": [
            "INSERT_BLOCK_HASH"
        ]
    }
]

Example response: 200

[
    {
        "jsonrpc": "2.0",
        "error": {
            "code": -32602,
            "message": "Invalid params",
            "data": "invalid length 17, expected a (both 0x-prefixed or not) hex string or byte array containing 32 bytes at line 1 column 19"
        },
        "id": "1"
    }
]

Last updated