RoutingExtension

Extension name: ripple-routing.

Link-State Routing Advertisement

{

  "link-ad": {
    "id": (string)
    "sender": (routing id),
    "link-to": (routing id),
    "status": ("up" | "down"),
    "hop-limit": (integer),
    ("fwd-credit": (decimal),)
    ("bwd-credit": (decimal),)
    ("units": (URI),)
  }

}

Routing ID

(string)

Payment Init (extra fields)

{

  "payment-init": {
    "payer-routing-id": (routing id),
    ("max-fee": (decimal),)
    ("path-units": (URI),)
    ("min-penalty-deadline": (time delta),)
    ("min-deadline": (time delta),)
    ("min-guarantee-expiry": (date/time string))
  }

}

Payment Accept (extra field)

{

  "payment-accept": {
    "recipient-routing-id": (routing id)
  }

}

Path Query

{

  "path-query": {
    "payment-id": (string),
    "path-id": [(ordered list of strings)],
    "path-amount": (decimal),
    ("max-fee": (decimal),)
    ("path-units": (URI),)
    "account-id": (string),
    "amount": (decimal),
    "onion": (routing onion data structure),
    "target": (routing id),
    "ttl": (time/date string),
    ("min-penalty-deadline": (time delta),)
    ("max-penalty-rate": (decimal),)
    ("min-deadline": (time delta),)
    "guarantee-expiry": (date/time string),
  }

}

Promise (extra field)

{

  "promise": {
    "target": (routing id),
  }

}

Account Data Structure (extra field)

{

  "account": {
    "advertise-link": (true | false),
  }

}