25 lines
787 B
JSON
25 lines
787 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
"title": "paymentChannelFund",
|
|
"link": "payment-channel-fund",
|
|
"type": "object",
|
|
"properties": {
|
|
"amount": {
|
|
"$ref": "value",
|
|
"description": "Amount of XRP to fund the channel with."
|
|
},
|
|
"channel": {
|
|
"$ref": "hash256",
|
|
"description": "256-bit hexadecimal channel identifier."
|
|
},
|
|
"expiration": {
|
|
"type": "string",
|
|
"format": "date-time",
|
|
"description": "New expiration for this channel. (This does not change the cancelAfter expiration, if the channel has one.) Cannot move the expiration sooner than settleDelay seconds from time of the request."
|
|
},
|
|
"memos": {"$ref": "memos"}
|
|
},
|
|
"required": ["amount", "channel"],
|
|
"additionalProperties": false
|
|
}
|