Account deposit behaviour
Returns deposit behaviour of a single account for multiple resource addresses
Body
networkstringRequiredExample:
The logical name of the network
{{network}}
account_addressstringRequired
The Bech32m-encoded human readable version of the account's address.
resource_addressesstring[] · max: 20Optional
The resource addresses to check the deposit behaviours of.
Responses
200
Account deposit behaviour response
application/json
500
Server error
application/json
post
POST /lts/state/account-deposit-behaviour HTTP/1.1
Host: xrd.nownodes.io
Content-Type: application/json
Accept: */*
Content-Length: 134
{
"network": "{{network}}",
"account_address": "text",
"resource_addresses": [
"text"
],
"badge": {
"type": "Resource",
"resource_address": "text"
}
}
{
"state_version": 1,
"ledger_header_summary": {
"epoch_round": {
"epoch": 1,
"round": 1
},
"ledger_hashes": {
"state_tree_hash": "text",
"transaction_tree_hash": "text",
"receipt_tree_hash": "text"
},
"proposer_timestamp": {
"unix_timestamp_ms": 1,
"date_time": "text"
}
},
"default_deposit_rule": "Accept",
"is_badge_authorized_depositor": true,
"resource_specific_behaviours": {
"ANY_ADDITIONAL_PROPERTY": {
"resource_preference": "Allowed",
"vault_exists": true,
"is_xrd": true,
"allows_try_deposit": true
}
}
}