Skip to main content
POST
/
workspaces
/
{workspaceId}
/
transactions
/
bulk-create
Create Multiple Transactions
curl --request POST \
  --url https://api.bron.org/workspaces/{workspaceId}/transactions/bulk-create \
  --header 'Content-Type: application/json' \
  --data '
{
  "transactions": [
    {
      "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"
      }
    }
  ]
}
'
{
  "transactions": [
    {
      "accountId": "<string>",
      "accountType": "vault",
      "createdAt": "<string>",
      "externalId": "<string>",
      "status": "new",
      "transactionId": "<string>",
      "transactionType": "deposit",
      "workspaceId": "<string>",
      "createdBy": "<string>",
      "embedded": {
        "currentSigningRequest": {
          "accountId": "<string>",
          "blockchainNonce": "<string>",
          "messagesForSigning": {
            "messages": [
              {
                "hashFunction": "none",
                "keyType": "secp256k1",
                "message": "<string>",
                "signatureScheme": "ecdsa",
                "signatureVariant": "zilliqa"
              }
            ],
            "publicKey": "<string>",
            "useBackupPrimitive": true
          },
          "networkId": "<string>",
          "requestParameters": {},
          "shouldBeBroadcasted": true,
          "signed": {},
          "signingData": {},
          "signingRequestId": "<string>",
          "status": "new",
          "transactionId": "<string>",
          "transactionType": "deposit",
          "workspaceId": "<string>"
        },
        "events": [
          {
            "accountId": "<string>",
            "accountType": "vault",
            "assetId": "<string>",
            "createdAt": "<string>",
            "eventId": "<string>",
            "eventType": "in",
            "transactionId": "<string>",
            "workspaceId": "<string>",
            "amount": "<string>",
            "blockchainTxId": "<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>"
          }
        ]
      },
      "expiresAt": "<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": {
        "amount": "<string>",
        "assetId": "<string>",
        "feeLevel": "medium",
        "includeFee": "false",
        "memo": "<string>",
        "networkFees": {
          "feePerByte": "<string>",
          "gasLimit": "<string>",
          "gasPriceGwei": "<string>",
          "maxFeePerGas": "<string>",
          "maxPriorityFeePerGas": "<string>"
        },
        "networkId": "<string>",
        "symbol": "<string>",
        "toAccountId": "<string>",
        "toAddress": "<string>",
        "toAddressBookRecordId": "<string>"
      },
      "terminatedAt": "<string>",
      "updatedAt": "<string>"
    }
  ],
  "embedded": {
    "currentSigningRequest": {
      "accountId": "<string>",
      "blockchainNonce": "<string>",
      "messagesForSigning": {
        "messages": [
          {
            "hashFunction": "none",
            "keyType": "secp256k1",
            "message": "<string>",
            "signatureScheme": "ecdsa",
            "signatureVariant": "zilliqa"
          }
        ],
        "publicKey": "<string>",
        "useBackupPrimitive": true
      },
      "networkId": "<string>",
      "requestParameters": {},
      "shouldBeBroadcasted": true,
      "signed": {},
      "signingData": {},
      "signingRequestId": "<string>",
      "status": "new",
      "transactionId": "<string>",
      "transactionType": "deposit",
      "workspaceId": "<string>"
    },
    "events": [
      {
        "accountId": "<string>",
        "accountType": "vault",
        "assetId": "<string>",
        "createdAt": "<string>",
        "eventId": "<string>",
        "eventType": "in",
        "transactionId": "<string>",
        "workspaceId": "<string>",
        "amount": "<string>",
        "blockchainTxId": "<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>"
      }
    ]
  }
}

Path Parameters

workspaceId
string
required

Body

application/json
transactions
object[]
required

List of transactions to create

Response

OK

transactions
object[]
required
embedded
object