XLS-0078-Subscriptions Official draft, not this sandbox
Connecting… Ledger -

How a subscription works

Checking amendment… Ready

A standing debit: the subscriber authorises the payee to pull up to Amount each Frequency period. Missed full periods accrue. Each Claim takes one period. Leftover of a started period is forfeited if you skip it. Three transactions: Set, Claim, Cancel.

Lab accounts

Each wallet is funded 100 XRP from genesis. Re-run setup if the ledger was wiped.

Subscriber

Subscription account. Pays. Signs Set and Cancel.

Not set
Bal - Obj -
Payee

Destination. The only account that may Claim.

Not set
Bal - Obj -
Token issuer

Issues RLUSD for the IOU path. Unused on XRP.

Not set
Bal - Obj -
Baseline

No subscription. Ordinary Payment for contrast.

Not set
Bal - Obj -

Subscriber signs SubscriptionSet with no SubscriptionID. The ledger creates the object and returns the id in metadata.

Current subscription No subscription loaded
SubscriptionID-
Subscriber-
Payee-
Amount-
Balance-
Frequency-
NextClaimTime-
Expiration-
Create Sequence-
Parent close-

No subscription loaded yet. Submit Set, or paste an id.

Unsigned

tx_json before submit

No TxnSignature. Fields above rewrite this payload.

{ }
Subscriber SubscriptionSet 10 XRP

Result

Latest fork response only.

{ }

Activity

Every submission, with the fork result. Kept in this browser. Drag the bottom edge to expand.

Notes from the live fork