Parameters
- objectobjectREQUIRED
The deposit_authorized request object.
- source_accountstringREQUIRED
The sender account
- destination_accountstringREQUIRED
The recipient account
- ledger_indexstring
The ledger index of the ledger to use
Returns
- resultobject
An object which contains the following fields:
- deposit_authorizedboolean
A boolean flag indicating whether the destination account is authorized to receive deposits from the source account
- destination_accountstring
The destination account for which the authorization was checked
- ledger_hashstring
The hash of the ledger that was used for retrieving the account information
- ledger_indexinteger
The ledger index that was used for retrieving the account information
- source_accountstring
The source account for which the authorization was checked
- statusstring
The status of the request
- validatedboolean
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": false12}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": false12}13}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free