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.

escrow-creation.json 1.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. {
  2. "$schema": "http://json-schema.org/draft-04/schema#",
  3. "title": "escrowCreation",
  4. "link": "escrow-creation",
  5. "type": "object",
  6. "properties": {
  7. "amount": {
  8. "$ref": "value",
  9. "description": "Amount of XRP for sender to escrow."
  10. },
  11. "destination": {
  12. "$ref": "address",
  13. "description": "Address to receive escrowed XRP."
  14. },
  15. "memos": {"$ref": "memos"},
  16. "condition": {
  17. "type": "string",
  18. "description": "A hex value representing a [PREIMAGE-SHA-256 crypto-condition](https://tools.ietf.org/html/draft-thomas-crypto-conditions-02#section-8.1). If present, `fulfillment` is required upon execution.",
  19. "pattern": "^[A-F0-9]{0,256}$"
  20. },
  21. "allowCancelAfter": {
  22. "type": "string",
  23. "format": "date-time",
  24. "description": "If present, the escrow may be cancelled after this time."
  25. },
  26. "allowExecuteAfter": {
  27. "type": "string",
  28. "format": "date-time",
  29. "description": "If present, the escrow can not be executed before this time."
  30. },
  31. "sourceTag": {
  32. "$ref": "tag",
  33. "description": "Source tag."
  34. },
  35. "destinationTag": {
  36. "$ref": "tag",
  37. "description": "Destination tag."
  38. }
  39. },
  40. "required": ["amount", "destination"],
  41. "additionalProperties": false
  42. }