From RippleWiki

Protocol: Channel

Subprotocol name: ripple-channel.

For an explanation of this subprotocol, see Advertisements.

Channel List Request

{

    "type": "channel-list-request",
    "request-id": (integer)

}

Channel List

{

    "type": "channel-list",
    "request-id": (integer)
    "body": [
        (channel data structures)
    ]

}

Channel Data Structure

(string)

Channel Subscribe

{

    "type": "channel-subscribe",
    "body": [
        (channel data structures)
    ]

}

Channel Unsubscribe

{

    "type": "channel-unsubscribe",
    "body": [
        (channel data structures)
    ]

}

Channel Ad

{

    "type": "channel-ad",
    "from": [
        (list of nodes on the sending host that are potential intermediaries 
        to the ad's source for interested nodes on the receiving host)
    ]
    "body": {
        "content": (URI),
        "source": (Ripple ID),
        "channels": [
            (channel data structures)
        ]
        ("min-amount": (decimal),
        "units": (URI),)
        ("onion": (routing onion data structure),)
    }

}

Notes:

Retrieved from http://ripple.ryanfugger.com/Protocol/Channel
Page last modified on April 09, 2011, at 05:23 PM