HTTP Method | Resource | Description |
GET | Details of all joined token networks | |
PUT | Join a token network | |
DELETE | Leave a token network |
Currently all API calls are blocking. In case of long running API calls like joining or leaving a token network, if any concurrent API calls are made they will be queued.
{"0x2a65Aca4D5fC5B5C859090a6c34d164135398226": {"funds": 100,"sum_deposits": 67,"channels": 3},"0x0f114A1E9Db192502E7856309cc899952b3db1ED": {"funds": 49,"sum_deposits": 31,"channels": 1}}
Internal Raiden node error
A successful connection has been created
Insufficient balance of ETH to pay for the on-chain transactions
The token address is not a valid EIP55-encoded Ethereum address
A timeout happened during any of the transactions
Some invalid input has been provided
Internal Raiden node error
{"funds": 1337}
If the number of channels provided as a value for initial_channel_target
is greater than the current number of peers in the token network the funds will still get split according to the value you provided.
This means that if you have funds of 100 tokens and want to open 4 channels but there are only 3 peers in the network then 15 tokens will get distributed for the 3 channels while the remaining 15 will be used for opening a 4th channel as soon as one more peer becomes available.
["0x41BCBC2fD72a731bcc136Cf6F7442e9C19e9f313","0x5A5f458F6c1a034930E45dC9a64B99d7def06D7E","0x8942c06FaA74cEBFf7d55B79F9989AdfC85C6b85"]
The token address is not a valid EIP55-encoded Ethereum address
Internal Raiden node error