xrp

XRP (XRP)

Method: POST random

dropdown
POST

random

random 命令提供一个随机数,用作客户端生成随机数的熵源。

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"
    }
}