paid-services
Version:
Lightning Paid Services library
79 lines (78 loc) • 1.71 kB
JSON
{
"dataTypes": {
"request": "1"
},
"fields": {
"4": [
{
"description": "Message to deliver to inbox",
"limit": 280,
"type": "0"
},
{
"description": "Reply email address or other contact method",
"limit": 144,
"type": "1"
}
],
"7": [{
"data": "request",
"description": "Payment request to relay",
"limit": 500,
"type": "0"
}],
"8": [{
"description": "Socket to connect to (host:port)",
"limit": 144,
"type": "1"
}],
"9": [
{
"description": "Amount to invoice",
"limit": 20,
"type": "1"
},
{
"description": "Description for invoice",
"limit": 100,
"type": "3"
}
]
},
"ids": {
"0": "schema",
"1": "services",
"2": "ping",
"3": "profile",
"4": "inbox",
"5": "network",
"6": "activity",
"7": "relay",
"8": "connect",
"9": "invoice"
},
"descriptions": {
"0": "Get details about a specific service",
"1": "Get a list of currently supported services",
"2": "Get a pong response to a ping payment",
"3": "Get general information about this node",
"4": "Deliver a message to this node's inbox",
"5": "Get ids of other nodes offering paid services",
"6": "Get routing activity statistics",
"7": "Relay a payment through this node",
"8": "Connect up as peers",
"9": "Create an invoice"
},
"types": {
"activity": "6",
"connect": "8",
"inbox": "4",
"invoice": "9",
"network": "5",
"ping": "2",
"profile": "3",
"relay": "7",
"schema": "0",
"services": "1"
}
}