Transaction

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.

post/transaction/account-deposit-pre-validation

Request body

account_addressstring required

Bech32m-encoded human readable version of the address.

resource_addressesAddress[] required

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.

allows_try_deposit_batchboolean required

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 AccountLockerNotFoundError discriminator mapping keys to the response property for the response status

      response-property-discriminator-mapping-added

  • 0d434e6f32f7326See the full diff
    • ▲

      removed the enum value NonFungibleResourceBadge of the request property //

      request-property-enum-value-removed

    • ▲

      the response property // became nullable for the status

      response-property-became-nullable

    • ▲

      removed the required property / from the response with the status

      response-required-property-removed

    • ●

      removed the optional property // from the response with the status

      response-optional-property-removed

    • ●

      added the new Accept enum value to the // response property for the response status

      response-property-enum-value-added

    • ○

      added NonFungibleBadge discriminator mapping keys to the / request property

      request-property-discriminator-mapping-added

    • ○

      removed NonFungibleResourceBadge discriminator mapping keys from the / request property

      request-property-discriminator-mapping-deleted

    • ○

      added the new NonFungibleBadge enum value to the request property //

      request-property-enum-value-added

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

    • ○

      removed the Allow enum value from the // response property for the response status

      response-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