12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- {
- "$schema": "http://json-schema.org/draft-04/schema#",
- "title": "getPaymentChannel",
- "type": "object",
- "properties": {
- "account": {
- "$ref": "address",
- "description": "Address that created the payment channel."
- },
- "destination": {
- "$ref": "address",
- "description": "Address to receive XRP claims against this channel."
- },
- "amount": {
- "$ref": "value",
- "description": "The total amount of XRP funded in this channel."
- },
- "balance": {
- "$ref": "value",
- "description": "The total amount of XRP delivered by this channel."
- },
- "settleDelay": {
- "type": "number",
- "description": "Amount of seconds the source address must wait before closing the channel if it has unclaimed XRP."
- },
- "expiration": {
- "type": "string",
- "format": "date-time",
- "description": "Time when this channel expires."
- },
- "publicKey": {
- "$ref": "publicKey",
- "description": "Public key of the key pair the source uses to sign claims against this channel."
- },
- "cancelAfter": {
- "type": "string",
- "format": "date-time",
- "description": "Time when this channel expires as specified at creation."
- },
- "sourceTag": {
- "$ref": "tag",
- "description": "Source tag."
- },
- "destinationTag": {
- "$ref": "tag",
- "description": "Destination tag."
- },
- "previousAffectingTransactionID": {
- "$ref": "hash256",
- "description": "Hash value representing the most recent transaction that affected this payment channel."
- },
- "previousAffectingTransactionLedgerVersion": {
- "$ref": "ledgerVersion",
- "description": "The ledger version that the transaction identified by the `previousAffectingTransactionID` was validated in."
- }
- },
- "required": [
- "account",
- "destination",
- "amount",
- "balance",
- "settleDelay",
- "previousAffectingTransactionID",
- "previousAffectingTransactionLedgerVersion"
- ],
- "additionalProperties": false
- }
|