Home

channel_verify

POST
https://xrp.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Verify a signature for a claim against a specific payment channel. This method checks whether a cryptographic signature is valid for claiming XRP from a payment channel.

Body

application/json

Verify a signature for a claim against a specific payment channel. This method checks whether a cryptographic signature is valid for claiming XRP from a payment channel.

JSON-RPC request payload.

methodstringchannel_verifyrequired

The JSON-RPC method name

paramsArray<object>required

Ordered JSON-RPC method parameters.

Show child attributes
channel_idstringrequired

The unique identifier of the payment channel. This is 64-character hexadecimal string.

signaturestringrequired

The cryptographic signature to verify, in hexadecimal format. This is the signature generated by the channel_authorize method.

public_keystringrequired

The public key of the account that owns the payment channel, in base58 format. This should correspond to the private key that generated the signature.

amountstringrequired

The amount of XRP that the signature authorizes to claim, in drops. Represented as a string to maintain precision. Must match the amount used when generating the signature.

Response

200OK

HTTP 200 response for channel_verify. The body contains either a successful result or a method-level JSON-RPC error.

400Bad Request

Bad Request. The request body is malformed or contains invalid JSON-RPC parameters.

401Unauthorized

Unauthorized: API key is present but rejected by the NOWNodes gateway.

405Method Not Allowed

Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.

422Unprocessable Entity

Missing API key. The NOWNodes gateway returns plain text for this error.

500Internal Server Error

Internal Server Error. The gateway or node failed while processing the request.