Brickken blog banner for the Build with Brickken Office Hours recap, on the prepare, sign and send pattern shared by the dApp and Agentic APIs.

Every write on both of Brickken's APIs follows the same three steps. Prepare an unsigned transaction, sign it, send it. Then poll for the result.

Learn that once and the rest of the platform stops being a series of integrations and becomes a reference lookup.

That was the thesis of last week's Build with Brickken Office Hours, and Davide Pizzo and Maximiliano Allende spent 45 minutes proving it rather than describing it: six transactions, three on each API, all in the sandbox, all signed live from MetaMask.

The recording is below. What follows is the structure of the session, plus the answers that came out of it and a few details from the documentation that are worth knowing before you build.

The mental model

Brickken prepares the transaction from your data and its contracts, and hands it back unsigned. You sign it. Then it gets sent. Afterwards you poll GET /get-transaction-status until it resolves, and the response carries both identifiers: txId, Brickken's internal ID from the prepare call, and hash, the on-chain transaction hash.

The reason the middle step is separate is that signing is deliberately not ours to do. There are three documented execution modes, and they differ in who signs and who broadcasts:

  • client-signed, the default for dApp API and RAMS writes. You sign, Brickken broadcasts.
  • client-broadcast, what the session demonstrated. Your wallet signs and broadcasts, so Brickken's last step becomes a reconciliation: it watches for the on-chain result and updates its own record. In the demo that took under two minutes each time.

MetaMask signs and broadcasts, which is why the demo ran in client-broadcast.

Three writes on the dApp API

Davide took the first half, starting from nothing and finishing with tokens in an investor's wallet.

newTokenization. A unique asset name, a token symbol, a supply cap and a documentation URL. Prepare returns the full payload: the transaction ID, the from address matching the connected wallet, the nonce, the chain ID, the calldata and the execution mode. He inspected all of it before signing, which is the entire reason a separate prepare step exists. Once settled, the logs carried two new addresses, the token contract and the escrow contract used for offerings.

whitelist. Same flow, much smaller calldata. The investor wallet has to differ from the issuer's. What it does is authorise that wallet to hold and acquire the asset, which is the precondition for the next step and for any offering. The logs show the flag flipping to true for that address.

mintToken. 100 tokens of the asset from step one, to the wallet authorised in step two. The balance increases onchain.

Created, authorised, issued. Three calls, one pattern.

That is the start of the surface, not the whole of it. Also on the dApp API: newSto, newInvest, claimTokens, closeOffer, dividendDistribution, approve, burnToken, and two distinct transfer methods, transferFrom and transferTo.

Three writes on the Agentic API

Maximiliano took the second half, and framed why the surface exists: protocols today assume a human clicking through an interface, and an autonomous agent has no human to do that.

Register the identity. An agent needs an identity primitive before it can do anything else. ERC-8004 gives a standardised registry where the agent publishes its operational metadata: name, description, image URL, service name (agent-to-agent in the demo) and the endpoint other agents reach it on.

Create a token the agent owns. Name, symbol, decimals, mint permit.

Mint it. Token contract, recipient, amount. As Maximiliano put it, an agent or its controller issues tokens for real reasons: distributing rewards, funding a subscription, capitalising a pool.

The identity and reputation surface also covers set-uri, set-metadata, set-wallet, transfer-ownership, and giving, revoking and responding to feedback. The agent token surface covers create, mint, burn, transfer, transfer-from and approve. There are three read endpoints for agents, and at time of writing the MCP server exposes the whole platform as tools.

What it costs, and when you are charged

This is the part the documentation is clearest on and the session had least time for.

Agentic operations are priced per call in USDC on Base mainnet: registering an agent is 0.98, creating an agent token 9.98, minting 0.10, approving 0.02, granting a RAMS mandate 0.98, executing one 0.24. Agent read endpoints are 0.000001. Outside production every write is a flat 0.01.

Two mechanics worth knowing. Every operation is priced once and charged twice, once against your plan credits and once at settlement. And payment is reserved rather than taken: it settles only after the operation confirms on chain, and is released if the transaction reverts. So a failed transaction does not cost you the fee.

Read the asset and amount from the live PAYMENT-REQUIRED header rather than hardcoding them. The docs say this explicitly, and prices change.

Where things run

Not the same on both APIs, and this catches people out.

dApp API: Ethereum mainnet, Base, BNB Smart Chain, Polygon, plus Sepolia and Polygon Amoy testnets.

Agentic API: Base mainnet and Base Sepolia. Ethereum Sepolia is RAMS mandates only, not the ERC-8004 agent routes.

There is also a testnet faucet with an API and a new interface, so an agent can fund itself mid-run without a human touching a faucet UI. POST /faucet/bkn mints 100 BKN on Ethereum Sepolia, and you reach it either with an API key, consuming one of ten lifetime faucet credits, or by settling a 0.01 USDC x402 challenge, which consumes no credit. There is a 24-hour cooldown per recipient.

Full faucet documentation

Two questions worth the answer

Why a transaction ID as well as a hash? They identify different things. The txId is Brickken's identifier for the transaction in our system, returned by prepare. The hash is the chain's identifier once it is on chain. You need the first to reconcile and the second to verify.

Who pays for gas? Depends on the mode. An API key covers method credits and is not a wallet, so in client-broadcast the signing wallet pays gas. In brickken-relayed there is no EOA and no native gas token involved at all. On the Agentic API you can also settle per request through x402 rather than drawing down credits bought in advance, which is what "the agent pays for its own calls" means in practice.

What is coming: RAMS

The mandate layer drew the most questions and the team was rightly careful about it.

RAMS (ERC-8226) is the Regulated Agent Mandate standard, currently at Draft stage. The idea is that an agent holds an explicit, revocable mandate to perform specific actions, and the principal retains control over it.

Ten methods are documented: ramsGrantMandate, ramsRevokeMandate, ramsExtendMandate, ramsSetOperator, ramsExecute, ramsSetExecutorAction, ramsFreezeAgent, ramsUnfreezeAgent, ramsGrantPrincipal and ramsRevokePrincipal, alongside reads for the mandate itself, whether an action can execute, status, compliance status, executor action and the EIP-712 typed data for each operation. Four of the ten support a principal's EIP-712 signature and relaying; six cannot be relayed.

RAMS runs on Ethereum Sepolia at launch, on both sandbox and production.

Two things were said plainly in the session and are worth repeating rather than softening. It is Draft, not ratified. And the team is not going into detail on the mandate contracts until they settle, because challenger feedback is still changing them. A separate session with the blockchain team is planned for when it does.

Two projects from the challenge

Both submissions shown used the tooling in a way the documentation does not suggest.

Tixken, a ticketing platform. Create an event, create the tickets, mint them. Using a ticket burns the token and admits the holder. After the event, an agent registered under ERC-8004 burns the unused tickets on request. A clean demonstration of an agent doing lifecycle work that would otherwise be a manual cleanup.

Dogen, an economy for dogs, and the more unexpected of the two. Upload a photo, an AI estimates what the dog costs to keep, food and medical included, and that estimate becomes an offer others can contribute to. Whether or not you would build a business on it, it exercises the full offer path from an unusual starting point, and that is what a hackathon is for.

One detail about the session itself: the presentation the team ran it from was built as a Brickken challenge project, calling the API live from the slides.

Five ways in

Same platform, five surfaces:

  • The REST API, dApp and Agentic
  • The SDK, brickken-sdk on npm, Node 20+, one runtime dependency
  • The CLI, brickken-cli on npm
  • The MCP server, hosted at https://mcp.brickken.com/mcp. Not published to npm. Brickken also documents how to pair it with Base's own MCP server so a Base account signs and broadcasts.
  • The Skill, built on the open Agent Skills SKILL.md format, installable with brickken skill install

Documentation 

Submissions for Build with Brickken close September 17th at 23:59 CET.

Start building