xrp

XRP (XRP)

Method: POST random

dropdown

POST random

The random command provides a random number to be used as a source of entropy for random number generation by clients.

Parameters

-

Request

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


Response

{
    "result": {
        "random": "AC31193658C9BF3F7EBB436DE9FBCD08E021595E8B0E648CFF8A7440B37F3F6C",
        "status": "success"
    }
}
GetBlock.io

Get access to 40+ blockchain nodes right now! GetBlock provides a fast and reliable API connection to full nodes from many leading blockchains.

Subscribe

Email is invalid

2019 - 2021 GetBlock