You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

payment-channel-create.json 1.2KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. {
  2. "$schema": "http://json-schema.org/draft-04/schema#",
  3. "title": "paymentChannelCreate",
  4. "link": "payment-channel-create",
  5. "type": "object",
  6. "properties": {
  7. "amount": {
  8. "$ref": "value",
  9. "description": "Amount of XRP for sender to set aside in this channel."
  10. },
  11. "destination": {
  12. "$ref": "address",
  13. "description": "Address to receive XRP claims against this channel."
  14. },
  15. "settleDelay": {
  16. "type": "number",
  17. "description": "Amount of seconds the source address must wait before closing the channel if it has unclaimed XRP."
  18. },
  19. "publicKey": {
  20. "$ref": "publicKey",
  21. "description": "Public key of the key pair the source may use to sign claims against this channel."
  22. },
  23. "cancelAfter": {
  24. "type": "string",
  25. "format": "date-time",
  26. "description": "Time when this channel expires. This expiration cannot be changed after creating the channel."
  27. },
  28. "sourceTag": {
  29. "$ref": "tag",
  30. "description": "Source tag."
  31. },
  32. "destinationTag": {
  33. "$ref": "tag",
  34. "description": "Destination tag."
  35. },
  36. "memos": {"$ref": "memos"}
  37. },
  38. "required": ["amount", "destination", "settleDelay", "publicKey"],
  39. "additionalProperties": false
  40. }