Raiden Network
  • What is Raiden?
  • Installation
    • Quick Start
      • Get MetaMask
      • Get an Infura ID
      • Download and run the Raiden Wizard
      • Handle Limitations
    • Starting Raiden Manually
  • Using Raiden on Mainnet
    • Overview
    • Get Whitelisted Tokens
    • Deposit Tokens to the UDC
    • Open a Channel
    • Make a Payment
    • Deposit Tokens
    • View Channel Status
    • Mediation Fees
  • The Raiden Web Interface
    • Overview
    • Navigate the WebUI
    • Join a Token Network
    • Make a Payment
    • Add More Tokens
    • Settle Payments and Close Channels
  • Using Raiden on testnet
    • Quick Start on Görli Testnet
    • Use Custom Token
      • Get Goerli Testnet ETH (GÖETH)
      • Import Custom Token
      • Compile Imported Token Code
      • Deploy Custom Token
  • Raiden API
    • Introduction
    • Resources
      • Address
      • Version
      • Settings
      • Contracts Information
      • Tokens
      • Channels
      • Payments
      • Connections
      • Pending Transfers
      • Shutdown
      • Testing
    • API Tutorial
      • Create a Token Network
      • Open a Channel
      • Deposit Tokens
      • Make a Payment
      • Withdraw Tokens
      • Settle Payments and Close Channels
  • Other
    • Safe Usage
    • Known Issues
    • Glossary
    • v1.0 Documentation
    • Trademark Attributions
Powered by GitBook
On this page
  • Pending Transfers Resource Overview
  • Pending Transfers Resource Details
  • All Incomplete Transfers
  • All Incomplete Transfers for a Specific Token
  • All Incomplete Transfers for a Specific Token and Channel

Was this helpful?

  1. Raiden API
  2. Resources

Pending Transfers

The pending transfers endpoints let you query information about transfers that have not been completed yet.

Pending Transfers Resource Overview

HTTP Method

Resource

Description

GET

All incomplete transfers

GET

All incomplete transfers for a specific token

GET

All incomplete transfers for a specific token and channel

Pending Transfers Resource Details

All Incomplete Transfers

GET http://localhost:5001/api/v1/pending_transfers

The "role" key in the response can either have the value "initiator", "mediator" or "target".

Path Parameters

Name
Type
Description

version

string

Version of the API

[
    {
        "channel_identifier": "255",
        "initiator": "0x5E1a3601538f94c9e6D2B40F7589030ac5885FE7",
        "locked_amount": "119",
        "payment_identifier": "1",
        "role": "initiator",
        "target": "0x00AF5cBfc8dC76cd599aF623E60F763228906F3E",
        "token_address": "0xd0A1E359811322d97991E03f863a0C30C2cF029C",
        "token_network_addrss": "0x111157460c0F41EfD9107239B7864c062aA8B978",
        "transferred_amout": "331"
    }
]
Internal Raiden node error

All Incomplete Transfers for a Specific Token

GET http://localhost:5001/api/v1/pending_transfers/0xd0A1...029C

Limits the response to pending transfers of the specified token. The "role" key in the response can either have the value "initiator", "mediator" or "target".

Path Parameters

Name
Type
Description

version

string

Version of the API

token_address

string

Address of a token

[
    {
        "channel_identifier": "255",
        "initiator": "0x5E1a3601538f94c9e6D2B40F7589030ac5885FE7",
        "locked_amount": "119",
        "payment_identifier": "1",
        "role": "initiator",
        "target": "0x00AF5cBfc8dC76cd599aF623E60F763228906F3E",
        "token_address": "0xd0A1E359811322d97991E03f863a0C30C2cF029C",
        "token_network_addrss": "0x111157460c0F41EfD9107239B7864c062aA8B978",
        "transferred_amout": "331"
    }
]
No results found for the token specified in the query
Internal Raiden node error

All Incomplete Transfers for a Specific Token and Channel

GET http://localhost:5001/api/v1/pending_transfers/0xd0A1...029C/0x2c4b...C685

Limits the response to pending transfers of the specified token and channel. The "role" key in the response can either have the value "initiator", "mediator" or "target".

Path Parameters

Name
Type
Description

version

string

Version of the API

token_address

string

Address of a token

partner_address

string

Address of the receiving node

[
    {
        "channel_identifier": "255",
        "initiator": "0x5E1a3601538f94c9e6D2B40F7589030ac5885FE7",
        "locked_amount": "119",
        "payment_identifier": "1",
        "role": "initiator",
        "target": "0x00AF5cBfc8dC76cd599aF623E60F763228906F3E",
        "token_address": "0xd0A1E359811322d97991E03f863a0C30C2cF029C",
        "token_network_addrss": "0x111157460c0F41EfD9107239B7864c062aA8B978",
        "transferred_amout": "331"
    }
]
No result found for the token specified in the query
No result found for the channel specified in the query
Internal Raiden node error
PreviousConnectionsNextShutdown

Last updated 5 years ago

Was this helpful?

/api/<version>/pending_transfers
/api/<version>/pending_transfers/<token_address>
/api/<version>/pending_transfers/<token_address>
/<partner_address>