Skip to main content

Validate a proof.

POST 

http://127.0.0.1:14265/api/poi/v1/validate

Validate a proof.

Request

Body

required
    milestone object

    Milestone payload in JSON representation. See Core API.

    block object

    Block in JSON representation. See Core API.

    proof ProofNode

    A node in the merkle tree.

    l object
    oneOf
    h string
    r object
    oneOf
    h string

Responses

Successful operation.

Schema
    valid boolean
curl -L -X POST 'http://127.0.0.1:14265/api/poi/v1/validate' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"milestone": {},
"block": {},
"proof": {}
}'
Request Collapse all
Base URL
http://127.0.0.1:14265
Body required
{
  "milestone": {},
  "block": {},
  "proof": {}
}
ResponseClear

Click the Send API Request button above and see the response here!