Skip to main content

deposit_authorized RPC Method

Determines whether one account has the authorization to directly send payments to another account

Updated on
Jun 11, 2026

Parameters

object
object
REQUIRED

The deposit_authorized request object.

source_account
string
REQUIRED

The sender account

destination_account
string
REQUIRED

The recipient account

ledger_index
string

The ledger index of the ledger to use

Returns

result
object

An object which contains the following fields:

deposit_authorized
boolean

A boolean flag indicating whether the destination account is authorized to receive deposits from the source account

destination_account
string

The destination account for which the authorization was checked

ledger_hash
string

The hash of the ledger that was used for retrieving the account information

ledger_index
integer

The ledger index that was used for retrieving the account information

source_account
string

The source account for which the authorization was checked

status
string

The status of the request

validated
boolean

A boolean flag indicating whether the result has been validated or not

Request
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"deposit_authorized": false,
6
"destination_account": "example_value",
7
"ledger_hash": "example_value",
8
"ledger_index": 1,
9
"source_account": "example_value",
10
"status": "example_value",
11
"validated": false
12
}
13
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"deposit_authorized": false,
6
"destination_account": "example_value",
7
"ledger_hash": "example_value",
8
"ledger_index": 1,
9
"source_account": "example_value",
10
"status": "example_value",
11
"validated": false
12
}
13
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free