wss://honeycluster.iochannel_verifyVerifies the signature of a payment channel claim without submitting it to the network.
{
"result": {
"signature_verified": true
},
"status": "success",
"type": "response",
"id": 1
}| Field | Type | Description |
|---|---|---|
commandrequired | 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+. |
{
"command": "channel_verify",
"id": 1,
"channel_id": "5DB01B7FFED6B67E6B0414DED11E051D2EE2B7619CE0EAA6286D67A3A4D5BDB3",
"amount": "1000000",
"public_key": "023693F15967AE357D0327974AD46FE3C127113B1110D6044520CC26B62CF1AD16",
"signature": "304402204EF0AFB78AC23ED1C472E74F4299C0C21F1B21D07EFC0A3838A420F76D783A400220154FB11B6F54320666E4C36CA7F686C16A3A0456800BBC43746F34AF50290064"
}| Field | Type | Description |
|---|---|---|
result | object | |
status | enum<string> | Available successerror |
type | string | |
id | stringnumber | Echo of the client-provided correlation ID |
{
"result": {
"signature_verified": true
},
"status": "success",
"type": "response",
"id": 1
}