Pular para o conteúdo

Dry run a transaction order

Requisição

Segurança
httpAuth
Caminho
domainIdstring, (uuid)obrigatório

Unique identifier for the domain.

Corpoapplication/jsonobrigatório
accountIdstring, (uuid)obrigatório
ledgerIdstring, [ 1 .. 100 ] characters
parametersanyobrigatório
curl -i -X POST \
  'https://docs.ripple.com/_mock/pt-br/products/custody/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"
    }
  }'

Respostas

Corpoapplication/json
resultanyobrigatório
estimateanyobrigatório
Resposta
{ "result": { "hint": "AccountAlreadyActivatedOnLedger", "reason": "string", "type": "Failure" }, "estimate": { "fee": "string", "type": "Algorand" } }