Skip to content

Dry run a transaction order

Request

Security
httpAuth
Path
domainIdstring, (uuid)required

Unique identifier for the domain.

Bodyapplication/jsonrequired
accountIdstring, (uuid)required
ledgerIdstring, [ 1 .. 100 ] characters
parametersanyrequired
curl -i -X POST \
  'https://docs.ripple.com/_mock/products/custody/v1.42/devbox/v1/domains/{domainId}/transactions/dry-run' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
    "ledgerId": "string",
    "parameters": {
      "operation": {
        "destination": {
          "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
          "type": "Account"
        },
        "amount": "string",
        "type": "Payment"
      },
      "note": "string",
      "feeStrategy": {
        "priority": "High",
        "type": "Priority"
      },
      "maximumFee": "string",
      "type": "Algorand"
    }
  }'

Responses

Bodyapplication/json
resultanyrequired
estimateanyrequired
Response
{ "result": { "hint": "AccountAlreadyActivatedOnLedger", "reason": "string", "type": "Failure" }, "estimate": { "fee": "string", "type": "Algorand" } }