Sandbox version
For experimental use only. Proceed with caution.
Utility Methods
Verify a payment channel claim signature
wss://honeycluster.io
rpc method: channel_verify

Verifies the signature of a payment channel claim without submitting it to the network.

Try it now
Response · channel_verify WS Response
{
  "result": {
    "signature_verified": true
  },
  "status": "success",
  "type": "response",
  "id": 1
}
Request Message
channel_verify WS Request
application/json
Verify a payment channel claim signature
FieldTypeDescription
command
required
string
WebSocket command name
id
object
Client-supplied identifier to correlate requests with responses.
channel_id
string
The 256-bit hex channel ID of the payment channel.
amount
string
The amount of XRP (in drops) the claim is for.
public_key
string
The public key of the channel, in hex format.
signature
string
The signature to verify, in hex format.
api_version
object
API version for the response format. Version 2 is the default for rippled 2.0+.
Example
Json
{
  "command": "channel_verify",
  "id": 1,
  "channel_id": "5DB01B7FFED6B67E6B0414DED11E051D2EE2B7619CE0EAA6286D67A3A4D5BDB3",
  "amount": "1000000",
  "public_key": "023693F15967AE357D0327974AD46FE3C127113B1110D6044520CC26B62CF1AD16",
  "signature": "304402204EF0AFB78AC23ED1C472E74F4299C0C21F1B21D07EFC0A3838A420F76D783A400220154FB11B6F54320666E4C36CA7F686C16A3A0456800BBC43746F34AF50290064"
}
Response Message
channel_verify WS Response
application/json
WebSocket response for channel_verify
FieldTypeDescription
result
object
status
enum<string>
Available
successerror
type
string
id
stringnumber
Echo of the client-provided correlation ID
Example
Json
{
  "result": {
    "signature_verified": true
  },
  "status": "success",
  "type": "response",
  "id": 1
}