account_channels RPC Method
Parameters
account
string
REQUIRED
Loading...
destination_account
string
Loading...
ledger_index
string
Loading...
ledger_hash
string
Loading...
limit
integer
Loading...
marker
string
Loading...
Returns
result
object
Loading...
account
string
Loading...
channels
array
Loading...
account
string
Loading...
amount
integer
Loading...
balance
integer
Loading...
channel_id
string
Loading...
destination_account
string
Loading...
public_key
string
Loading...
public_key_hex
string
Loading...
settle_delay
integer
Loading...
limit
integer
Loading...
ledger_hash
string
Loading...
ledger_index
integer
Loading...
validated
boolean
Loading...
status
string
Loading...
warnings
array
Loading...
id
integer
Loading...
message
string
Loading...
Request
1curl https://docs-demo.xrp-mainnet.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4--data '{5"method":"account_channels",6"params":[{7"account": "r4AZpDKVoBxVcYUJCWMcqZzyWsHTteC4ZE",8"destination_account": "ra5nK24KXen9AHvsdFTKHSANinZseWnPcX",9"ledger_index": "validated"10}],"id":1,"jsonrpc":"2.0"}'
1curl https://docs-demo.xrp-mainnet.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4--data '{5"method":"account_channels",6"params":[{7"account": "r4AZpDKVoBxVcYUJCWMcqZzyWsHTteC4ZE",8"destination_account": "ra5nK24KXen9AHvsdFTKHSANinZseWnPcX",9"ledger_index": "validated"10}],"id":1,"jsonrpc":"2.0"}'
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free