Skip to main content
POST
/
workspaces
/
{workspaceId}
/
transactions
/
dry-run
Dry-Run Transaction
curl --request POST \
  --url https://api.bron.org/workspaces/{workspaceId}/transactions/dry-run \
  --header 'Content-Type: application/json' \
  --data '
{
  "accountId": "<string>",
  "externalId": "<string>",
  "transactionType": "deposit",
  "description": "<string>",
  "expiresAt": "<string>",
  "params": {
    "amount": "10.123",
    "assetId": "20145",
    "feeLevel": "medium",
    "includeFee": "false",
    "memo": "<string>",
    "networkFees": {
      "feePerByte": "<string>",
      "gasLimit": "<string>",
      "gasPriceGwei": "<string>",
      "maxFeePerGas": "<string>",
      "maxPriorityFeePerGas": "<string>"
    },
    "networkId": "BTC",
    "symbol": "BTC",
    "toAccountId": "w9jh0gf3w9qaxlre7enezt17",
    "toAddress": "TKAduQVqNaTLyBzVvRrcctY6FFraowJ3Uc",
    "toAddressBookRecordId": "a30lin1p2zr1wzqqt1l8n652"
  }
}
'
{
  "accountId": "<string>",
  "transactionType": "deposit",
  "estimations": [
    {
      "assetId": "<string>",
      "createdAt": "<string>",
      "estimationId": "<string>",
      "eventType": "in",
      "transactionId": "<string>",
      "amount": "<string>",
      "extra": {
        "allowance": [
          {
            "address": "<string>",
            "amount": "<string>",
            "networkId": "<string>",
            "unlimited": true
          }
        ],
        "in": [
          {
            "address": "<string>",
            "amount": "<string>",
            "fromAccountId": "<string>",
            "fromAddressBookRecordId": "<string>",
            "networkId": "<string>"
          }
        ],
        "out": [
          {
            "address": "<string>",
            "amount": "<string>",
            "memo": "<string>",
            "networkId": "<string>",
            "toAccountId": "<string>",
            "toAddressBookRecordId": "<string>"
          }
        ],
        "rewardInfo": {},
        "signingMessage": {
          "message": "<string>",
          "version": "<string>"
        },
        "stakeInfo": [
          {}
        ],
        "transactionFailed": true
      },
      "networkId": "<string>",
      "symbol": "<string>",
      "usdAmount": "<string>"
    }
  ],
  "externalId": "<string>",
  "extra": {
    "approvers": {
      "approvedBy": [
        "<string>"
      ],
      "availableApprovers": [
        "<string>"
      ],
      "limitId": "<string>",
      "number": "<string>",
      "securityDelayDuration": "<string>",
      "securityDelayExpiresAt": "<string>",
      "skipApproval": true
    },
    "blockchainDetails": [
      {
        "blockchainTxId": "<string>",
        "networkId": "<string>"
      }
    ],
    "blockchainRequest": {
      "externalBroadcast": true,
      "networkId": "<string>"
    },
    "confirmations": "<string>",
    "depositTransactionId": "<string>",
    "description": "<string>",
    "fromAccountId": "<string>",
    "fromAddress": "<string>",
    "memo": "<string>",
    "signingRequestId": "<string>",
    "toAccountId": "<string>",
    "toAddress": "<string>",
    "withdrawTransactionId": "<string>"
  },
  "params": {},
  "warning": {
    "message": "<string>",
    "code": "<string>"
  }
}

Path Parameters

workspaceId
string
required

Body

application/json
accountId
string
required

The id of the account where the transaction should be placed

Example:

"w9jh0gf3w9qaxlre7enezt17"

externalId
string
required

Unique transaction identifier from client (should be unique per the account)

Example:

"w2u573pjj5wl97p4v325z4a9"

transactionType
enum<string>
required

The transaction type. See details

Available options:
deposit,
withdrawal,
multi-withdrawal,
negative-deposit,
auto-withdrawal,
allowance,
defi,
defi-message,
address-activation,
address-creation,
stake-delegation,
stake-undelegation,
stake-claim,
stake-withdrawal,
stake-take-reward,
stake-earn-reward,
swap-lifi,
intents,
loyalty-lock,
loyalty-unlock,
loyalty-collect-rewards,
canton-reward,
nft-deposit,
nft-withdrawal,
nft-allowance
Example:

"withdrawal"

description
string

The description of the transaction

Example:

"Withdrawal to an exchange"

expiresAt
string

Optional expiration time for the transaction

Example:

"1753370264978"

params
Transfer · object

Transaction specific parameters

Response

OK

accountId
string
required
transactionType
enum<string>
required
Available options:
deposit,
withdrawal,
multi-withdrawal,
negative-deposit,
auto-withdrawal,
allowance,
defi,
defi-message,
address-activation,
address-creation,
stake-delegation,
stake-undelegation,
stake-claim,
stake-withdrawal,
stake-take-reward,
stake-earn-reward,
swap-lifi,
intents,
loyalty-lock,
loyalty-unlock,
loyalty-collect-rewards,
canton-reward,
nft-deposit,
nft-withdrawal,
nft-allowance
estimations
object[]
externalId
string
extra
object
params
object
warning
object