PaymentChannelFund
Add additional Amount to an open payment channel, and optionally update the expiration time of the channel. Only the source address of the channel can use this transaction.
Added by the [PayChan amendment][].
Example
Field | JSON Type | [Internal Type][] | Description |
---|---|---|---|
| String | Hash256 | The unique ID of the channel to fund, as a 64-character hexadecimal string. |
| Amount | Amount to add to the channel. Must be a positive amount. | |
| Number | UInt32 | (Optional) New |
Error Cases
Besides errors that can occur for all transactions, {{currentpage.name}} transactions can result in the following transaction result codes:
Error Code | Description |
---|---|
| The sending account has less XAH than the reserve requirement. |
| The destination account of the channel has been deleted. This is only possible if the payment channel was created before the fixPayChanRecipientOwnerDir amendment became enabled (on 2020-05-01). |
| The Payment Channel identified by the |
| The sender of the transaction is not the source address for the channel. |
| The sending account does not have enough Amount to fund the channel with the requested amount and still meet the reserve requirement. |
| The |
| The |
Last updated