Skip to main content
brickken tx exposes the raw API transaction flow for Dapp and Agentic API methods. Use it when you want full control over the payload, need to call a specific backend method directly, or want to inspect the unsigned transaction before broadcasting. Dapp API methods use the configured API key; client-controlled Agentic and RAMS methods use the key when configured and otherwise use x402.

tx prepare

Prepare a raw transaction for any method. Dapp API methods use the configured API key and consume the method’s credits; eligible Agentic and RAMS methods use the key when configured and otherwise use x402. Relayed preparation is free. With --execute, the CLI also sends to /send-transactions; API-key-authenticated Dapp sends use the key, while x402 sends pay the operation charge. The --execution-mode brickken-relayed mode lets Brickken’s relayer sign and broadcast (omit --signer-address) and always uses x402; the default client-signed mode signs locally with the configured private key first. Supported Dapp transaction methods include newTokenization, newSto, newInvest, claimTokens, closeOffer, mintToken, whitelist, burnToken, transferFrom, transferTo, approve, and dividendDistribution. Agentic token methods include agentCreateToken, agentMintToken, agentBurnToken, agentTransferToken, agentTransferFromToken, and agentApproveToken (and the agentApprove alias, normalized to agentApproveToken). Agent identity, reputation, and RAMS methods are also accepted. You can also set executionMode directly in the --file body. See the Dapp API reference and Agentic Methods with x402 for each method’s fields. One-shot execution from a file:
Prepare-only (inspect before signing):
Prefer --file for nested JSON, long text, or values assembled by shell scripts. A file avoids the quoting pitfalls of inline JSON. The file’s keys use the backend field names (e.g. chainId, signerAddress, metadataValue).
Example Dapp API tokenization file:
Prepare it with the API key that pays for the Dapp API operation:
Example metadata file:

tx sign

Sign a prepared transaction locally with the configured private key. This step applies to client-signed execution only; in brickken-relayed mode Brickken signs the operation, so you skip signing and send the prepared transactions directly.

tx send

Send signed transactions. --tx-id and --signed-tx are repeatable for batched sends. ¹ Supply via flags or a --file.
API-key-authenticated Dapp sends use the API key’s credits and do not need an x402 payment header. Relayed Agentic/RAMS sends still use x402, and x402 send batches must contain only x402-eligible prepared transactions on the same chain.

tx status

Look up a broadcast transaction by its on-chain hash. Either --hash or --tx-hash is required. ¹ Provide one of the two.
This maps to GET /get-transaction-status.

Manual three-step flow

When you want full control over each step: