PreValidate deposit of resources to an account
Helper endpoint that allows pre-validation if a deposit of certain resources to a given account can succeed or not. It is only meant for pre-validation usage, it does not guarantee that execution will succeed.
Request body
Example request
{
"account_address": "<account-address>",
"resource_addresses": [
"<resource-address>"
]
}Response
Pre-validation response, including all deciding factors that were used to generate that response.
Example response
{
"ledger_state": {
"network": "<network-name>"
}
}Changes
Changed in 3 of the 50 revisions of this API.337
- ●
removed the request property
//request-property-removed
- ●
- ○
added
AccountLockerNotFoundErrordiscriminator mapping keys to theresponse property for the response statusresponse-property-discriminator-mapping-added
- ○
- ▲
removed the enum value
NonFungibleResourceBadgeof the request property//request-property-enum-value-removed
- ▲
the response property
//became nullable for the statusresponse-property-became-nullable
- ▲
removed the required property
/from the response with the statusresponse-required-property-removed
- ●
removed the optional property
//from the response with the statusresponse-optional-property-removed
- ●
added the new
Acceptenum value to the//response property for the response statusresponse-property-enum-value-added
- ○
added
NonFungibleBadgediscriminator mapping keys to the/request propertyrequest-property-discriminator-mapping-added
- ○
removed
NonFungibleResourceBadgediscriminator mapping keys from the/request propertyrequest-property-discriminator-mapping-deleted
- ○
added the new
NonFungibleBadgeenum value to the request property//request-property-enum-value-added
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
removed the
Allowenum value from the//response property for the response statusresponse-property-enum-value-removed
This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲