Description: This endpoint prepares unsigned transactions for the method selected in the method field. For the exact required and optional body fields of a single method, open the matching page under Prepare Transactions.
For a payment-token approve used before dividendDistribution, call GET /get-tokenizer-info for the tokenized asset and set spenderAddress to its returned tokenAddress. Do not use escrowAddress; the approval must be confirmed on-chain before preparing the distribution.
Headers:
x-api-key: YOUR_API_KEY for API-key auth, or X-Payment for x402 retries on eligible agentic methods
Content-Type: application/json
Common Request Body Parameters:
method (string, required): Operation to prepare.
chainId (string, required): Blockchain network identifier. Hex format is recommended, for example aa36a7 for Sepolia.
signerAddress (string, conditionally required): Wallet address that signs the prepared transaction. Most methods require it; newInvest and claimTokens can use investorAddress as the signer.
Prepares unsigned transactions for various blockchain operations. This endpoint supports multiple transaction methods for tokenization, STO management, token operations, and more.
The response includes the transaction details, metadata, and a unique transaction ID that must be saved for use with the /send-transactions endpoint.Important: The txId is NOT a blockchain transaction hash - it’s an internal identifier used to link the prepared transactions with the send operation.
Preparing does not touch the chain. The response gives you txId and an array of unsigned transactions — you still have to sign and submit them.
1
Sign every returned transaction
Sign each entry locally with the wallet that sends the transaction — signerAddress, or investorAddress for newInvest and claimTokens. It must be whitelisted by Brickken, and it needs native gas on the target chain.
2
Submit the signed payloads
POST them to /send-transactions as { txId, signedTransactions } and Brickken broadcasts for you.If you would rather broadcast yourself, prepare with executionMode: "client-broadcast" and confirm afterwards with { txId, txHash } instead.
3
Poll until it confirms
Call GET /get-transaction-status with the txId. A pending status means it is broadcast but not yet mined — do not resubmit.
The operation to be performed. Includes standard tokenization methods and x402-eligible agentic methods. Agentic methods can also be addressed through /x402/... facade endpoints, where the method is derived from the path. newTokenizedAgent remains a legacy alias for direct /prepare-transactions calls and is not listed in x402scan discovery.
Optional. Spender address required by approve. Before dividendDistribution, this must be the STO tokenAddress returned by GET /get-tokenizer-info, not escrowAddress.
Optional. Tokenizer wallet address used by tokenization setup flows. It is required by approve when tokenSymbol is a shared payment token; use companyWalletAddress from GET /get-tokenizer-info for the related asset.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Brickken Documentation","colors":{"primary":"#4C82df","light":"#4C82df","dark":"#4C82df"},"logo":{"light":"https://mintcdn.com/brickken/UYpLPKOSKNI6CnjX/logo/light.svg?fit=max\u0026auto=format\u0026n=UYpLPKOSKNI6CnjX\u0026q=85\u0026s=192d7d8eaa4997ed5fe5ebf73e4e6aee","dark":"https://mintcdn.com/brickken/UYpLPKOSKNI6CnjX/logo/dark.svg?fit=max\u0026auto=format\u0026n=UYpLPKOSKNI6CnjX\u0026q=85\u0026s=a65d0b5432e2917c02ee6ed31984af6f"},"favicon":"https://mintcdn.com/brickken/UYpLPKOSKNI6CnjX/favicon.svg?fit=max\u0026auto=format\u0026n=UYpLPKOSKNI6CnjX\u0026q=85\u0026s=51afb98395641cf97bb79fb30a48d4b1","navbar":{"links":[{"href":"https://docs.brickken.com/get-started/request-api-key","label":"Get an API key"},{"href":"mailto:support@brickken.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://dapp.brickken.com/en/dashboard/home"}},"footer":{"socials":{"x":"https://x.com/brickken","instagram":"https://www.instagram.com/brickken","facebook":"https://www.facebook.com/Brickken","linkedin":"https://www.linkedin.com/company/brickken","youtube":"https://www.youtube.com/@Brickken","discord":"https://discord.com/invite/FBsBVsBqxV"}},"contextual":{"options":[{"title":"Documentation","description":"Open the Brickken documentation home.","icon":"book-open-cover","href":"https://docs.brickken.com"},{"title":"Community","description":"Join the Brickken community on Discord.","icon":"discord","href":"https://discord.com/invite/brickken-official-community-851756929268056086"},{"title":"Blog","description":"Read the Brickken blog.","icon":"newspaper","href":"https://www.brickken.com/blog"}],"display":"toc"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Authentication","icon":"key","href":"/get-started/authentication"},{"anchor":"Request an API key","icon":"envelope","href":"/get-started/request-api-key"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"brickken","hasAudioNarration":false,"actualSubdomain":"brickken","customDomains":["docs.brickken.com"],"gitSource":{"type":"github","owner":"fbrickken","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a9844f4157c701ea07b7cc9","collectionId":"7f2c4ef2-df49-47ac-9084-833a740401c6","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6a9844f4157c701ea07b7cc9"},"entitlements":{},"buildId":"6a9844f4157c701ea07b7cc9","clientVersion":"0.0.4043","searchFilterCounts":[{"language":"default","tag":"Agentic API","count":36},{"language":"default","tag":"Dapp API","count":34},{"language":"default","tag":"SDK","count":14},{"language":"default","tag":"Prepare Transactions","count":13},{"language":"default","tag":"Read Endpoints","count":13},{"language":"default","tag":"CLI","count":13},{"language":"default","tag":"RAMS Mandates (ERC-8226)","count":11},{"language":"default","tag":"Overview","count":8},{"language":"default","tag":"Get Started","count":8},{"language":"default","tag":"Guides","count":8}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/endpoint/create","slug":"/api-reference/endpoint/create","pageMetadata":{"title":"Prepare Transactions","openapi":"api-reference/openapi.json POST /prepare-transactions","description":"**Description:** This endpoint prepares unsigned transactions for the method selected in the `method` field. For the exact required and optional body fields of a single method, open the matching page under Prepare Transactions.\n\nFor a payment-token `approve` used before `dividendDistribution`, call `GET /get-tokenizer-info` for the tokenized asset and set `spenderAddress` to its returned `tokenAddress`. Do not use `escrowAddress`; the approval must be confirmed on-chain before preparing the distribution.\n\n**Headers:**\n- `x-api-key`: `YOUR_API_KEY` for API-key auth, or `X-Payment` for x402 retries on eligible agentic methods\n- `Content-Type`: `application/json`\n\n**Common Request Body Parameters:**\n- `method` (string, required): Operation to prepare.\n- `chainId` (string, required): Blockchain network identifier. Hex format is recommended, for example `aa36a7` for Sepolia.\n- `signerAddress` (string, conditionally required): Wallet address that signs the prepared transaction. Most methods require it; `newInvest` and `claimTokens` can use `investorAddress` as the signer.","href":"/api-reference/endpoint/create"},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n li: \"li\",\n p: \"p\",\n strong: \"strong\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Description:\"\n }), \" This endpoint prepares unsigned transactions for the method selected in the \", _jsx(_components.code, {\n children: \"method\"\n }), \" field. For the exact required and optional body fields of a single method, open the matching page under Prepare Transactions.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"For a payment-token \", _jsx(_components.code, {\n children: \"approve\"\n }), \" used before \", _jsx(_components.code, {\n children: \"dividendDistribution\"\n }), \", call \", _jsx(_components.code, {\n children: \"GET /get-tokenizer-info\"\n }), \" for the tokenized asset and set \", _jsx(_components.code, {\n children: \"spenderAddress\"\n }), \" to its returned \", _jsx(_components.code, {\n children: \"tokenAddress\"\n }), \". Do not use \", _jsx(_components.code, {\n children: \"escrowAddress\"\n }), \"; the approval must be confirmed on-chain before preparing the distribution.\"]\n }), \"\\n\", _jsx(_components.p, {\n children: _jsx(_components.strong, {\n children: \"Headers:\"\n })\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"x-api-key\"\n }), \": \", _jsx(_components.code, {\n children: \"YOUR_API_KEY\"\n }), \" for API-key auth, or \", _jsx(_components.code, {\n children: \"X-Payment\"\n }), \" for x402 retries on eligible agentic methods\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"Content-Type\"\n }), \": \", _jsx(_components.code, {\n children: \"application/json\"\n })]\n }), \"\\n\"]\n }), \"\\n\", _jsx(_components.p, {\n children: _jsx(_components.strong, {\n children: \"Common Request Body Parameters:\"\n })\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"method\"\n }), \" (string, required): Operation to prepare.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"chainId\"\n }), \" (string, required): Blockchain network identifier. Hex format is recommended, for example \", _jsx(_components.code, {\n children: \"aa36a7\"\n }), \" for Sepolia.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"signerAddress\"\n }), \" (string, conditionally required): Wallet address that signs the prepared transaction. Most methods require it; \", _jsx(_components.code, {\n children: \"newInvest\"\n }), \" and \", _jsx(_components.code, {\n children: \"claimTokens\"\n }), \" can use \", _jsx(_components.code, {\n children: \"investorAddress\"\n }), \" as the signer.\"]\n }), \"\\n\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Heading,Step,Steps,Table}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Prepares unsigned transactions for various blockchain operations. This endpoint supports multiple transaction methods for tokenization, STO management, token operations, and more.`}),`\n`,_jsx(Heading,{level:`2`,id:`common-parameters`,children:`Common Parameters`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`chainId`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Blockchain network identifier (hex format)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`method`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Transaction method type`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`signerAddress`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Conditional`}),_jsxs(_components.td,{children:[`Address that will sign the transaction. Most methods require it; `,_jsx(_components.code,{children:`newInvest`}),` and `,_jsx(_components.code,{children:`claimTokens`}),` can use `,_jsx(_components.code,{children:`investorAddress`}),` as the signer.`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`supported-methods`,children:`Supported Methods`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Method`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`newTokenization`})}),_jsx(_components.td,{children:`Create a new tokenized asset.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`mintToken`})}),_jsx(_components.td,{children:`Mint tokens to one or more investors.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`whitelist`})}),_jsx(_components.td,{children:`Whitelist or blacklist investor wallets.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`burnToken`})}),_jsx(_components.td,{children:`Burn tokens from the signer balance.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`transferFrom`})}),_jsx(_components.td,{children:`Transfer tokens from an approved owner address.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`transferTo`})}),_jsx(_components.td,{children:`Transfer tokens from the signer address.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`approve`})}),_jsx(_components.td,{children:`Approve token spending.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`dividendDistribution`})}),_jsx(_components.td,{children:`Distribute payment-token dividends.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`newSto`})}),_jsx(_components.td,{children:`Create a Security Token Offering.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`newInvest`})}),_jsx(_components.td,{children:`Prepare an STO investment.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`claimTokens`})}),_jsx(_components.td,{children:`Claim tokens from a successful STO.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`closeOffer`})}),_jsx(_components.td,{children:`Close an active STO.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`response-format`,children:`Response Format`}),`\n`,_jsxs(_components.p,{children:[`The response includes the transaction details, metadata, and a unique transaction ID that must be saved for use with the `,_jsx(_components.code,{children:`/send-transactions`}),` endpoint.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Important:`}),` The `,_jsx(_components.code,{children:`txId`}),` is NOT a blockchain transaction hash - it’s an internal identifier used to link the prepared transactions with the send operation.`]}),`\n`,_jsx(Heading,{level:`3`,id:`response-fields`,children:`Response Fields`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`transactions`})}),_jsx(_components.td,{children:`array`}),_jsx(_components.td,{children:`Array of unsigned transaction objects ready for signing`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`info`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Metadata about the operation including emails and token symbol`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`txId`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`Unique identifier for this transaction batch (required for `,_jsx(_components.code,{children:`/send-transactions`}),`)`]})]})]})]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Next Steps:`})}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Sign each transaction in the `,_jsx(_components.code,{children:`transactions`}),` array`]}),`\n`,_jsxs(_components.li,{children:[`Submit the signed transactions along with the `,_jsx(_components.code,{children:`txId`}),` to `,_jsx(_components.code,{children:`/send-transactions`})]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`next-step`,children:`Next step`}),`\n`,_jsxs(_components.p,{children:[`Preparing does not touch the chain. The response gives you `,_jsx(_components.code,{children:`txId`}),` and an array of unsigned `,_jsx(_components.code,{children:`transactions`}),` — you still have to sign and submit them.`]}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Sign every returned transaction`,children:_jsxs(_components.p,{children:[`Sign each entry locally with the wallet that sends the transaction — `,_jsx(_components.code,{children:`signerAddress`}),`, or `,_jsx(_components.code,{children:`investorAddress`}),` for `,_jsx(_components.code,{children:`newInvest`}),` and `,_jsx(_components.code,{children:`claimTokens`}),`. It must be whitelisted by Brickken, and it needs native gas on the target chain.`]})}),_jsxs(Step,{title:`Submit the signed payloads`,children:[_jsxs(_components.p,{children:[_jsx(_components.code,{children:`POST`}),` them to `,_jsx(_components.a,{href:`/api-reference/endpoint/send`,children:_jsx(_components.code,{children:`/send-transactions`})}),` as `,_jsx(_components.code,{children:`{ txId, signedTransactions }`}),` and Brickken broadcasts for you.`]}),_jsxs(_components.p,{children:[`If you would rather broadcast yourself, prepare with `,_jsx(_components.code,{children:`executionMode: \"client-broadcast\"`}),` and confirm afterwards with `,_jsx(_components.code,{children:`{ txId, txHash }`}),` instead.`]})]}),_jsx(Step,{title:`Poll until it confirms`,children:_jsxs(_components.p,{children:[`Call `,_jsx(_components.a,{href:`/api-reference/endpoint/get-transaction-status`,children:_jsx(_components.code,{children:`GET /get-transaction-status`})}),` with the `,_jsx(_components.code,{children:`txId`}),`. A `,_jsx(_components.code,{children:`pending`}),` status means it is broadcast but not yet mined — do not resubmit.`]})})]}),`\n`,_jsxs(_components.p,{children:[`Full walkthrough: `,_jsx(_components.a,{href:`/api-reference/guides/tokenize-and-run-an-sto`,children:`Tokenize an asset and run an STO`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Prepare Transactions","openapi":"api-reference/openapi.json POST /prepare-transactions","description":"**Description:** This endpoint prepares unsigned transactions for the method selected in the `method` field. For the exact required and optional body fields of a single method, open the matching page under Prepare Transactions.\n\nFor a payment-token `approve` used before `dividendDistribution`, call `GET /get-tokenizer-info` for the tokenized asset and set `spenderAddress` to its returned `tokenAddress`. Do not use `escrowAddress`; the approval must be confirmed on-chain before preparing the distribution.\n\n**Headers:**\n- `x-api-key`: `YOUR_API_KEY` for API-key auth, or `X-Payment` for x402 retries on eligible agentic methods\n- `Content-Type`: `application/json`\n\n**Common Request Body Parameters:**\n- `method` (string, required): Operation to prepare.\n- `chainId` (string, required): Blockchain network identifier. Hex format is recommended, for example `aa36a7` for Sepolia.\n- `signerAddress` (string, conditionally required): Wallet address that signs the prepared transaction. Most methods require it; `newInvest` and `claimTokens` can use `investorAddress` as the signer.","href":"/api-reference/endpoint/create"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Common Parameters","slug":"common-parameters","depth":2,"children":[]},{"title":"Supported Methods","slug":"supported-methods","depth":2,"children":[]},{"title":"Response Format","slug":"response-format","depth":2,"children":[{"title":"Response Fields","slug":"response-fields","depth":3,"children":[]}]},{"title":"Next step","slug":"next-step","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Prepare Transactions","tags":["Endpoints"],"description":"**Description:** This endpoint prepares unsigned transactions for the method selected in the `method` field. For the exact required and optional body fields of a single method, open the matching page under Prepare Transactions.\n\nFor a payment-token `approve` used before `dividendDistribution`, call `GET /get-tokenizer-info` for the tokenized asset and set `spenderAddress` to its returned `tokenAddress`. Do not use `escrowAddress`; the approval must be confirmed on-chain before preparing the distribution.\n\n**Headers:**\n- `x-api-key`: `YOUR_API_KEY` for API-key auth, or `X-Payment` for x402 retries on eligible agentic methods\n- `Content-Type`: `application/json`\n\n**Common Request Body Parameters:**\n- `method` (string, required): Operation to prepare.\n- `chainId` (string, required): Blockchain network identifier. Hex format is recommended, for example `aa36a7` for Sepolia.\n- `signerAddress` (string, conditionally required): Wallet address that signs the prepared transaction. Most methods require it; `newInvest` and `claimTokens` can use `investorAddress` as the signer.","security":["1e60c1bd-e2ec-4792-9e32-8a29dafe8f06","cf867731-4b6b-4a04-90b4-13d1045fb268"],"requestBody":"abca2545-2b4d-4c9b-aef0-50d3df41848f","responses":{"200":"558df2b4-7897-4c38-a873-4c937dea09dc","402":"b1f602b5-c8cd-47db-be57-6e7694acacdd"},"method":"post","type":"path","servers":["c49d4b74-8565-45d3-9488-a1db87f8218a","d17a9f2b-96ea-4c3e-a855-b25208a2a781"],"path":"/prepare-transactions","baseUrlOptions":["https://api.sandbox.brickken.com","https://api.brickken.com"],"title":"Prepare Transactions","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"method":{"type":"string","example":"newTokenization","enum":["newTokenization","newSto","newInvest","claimTokens","mintToken","whitelist","approve","burnToken","transferFrom","transferTo","dividendDistribution","closeOffer","newTokenizedAgent","agentRegister","agentSetURI","agentSetMetadata","agentSetWallet","agentTransferOwnership","agentGiveFeedback","agentRevokeFeedback","agentAppendFeedbackResponse","agentCreateToken","agentMintToken","agentBurnToken","agentTransferToken","agentTransferFromToken","agentApproveToken"],"description":"The operation to be performed. Includes standard tokenization methods and x402-eligible agentic methods. Agentic methods can also be addressed through /x402/... facade endpoints, where the method is derived from the path. newTokenizedAgent remains a legacy alias for direct /prepare-transactions calls and is not listed in x402scan discovery.","isRequired":true,"uniqueKey":"method","typeLabel":"enum\u003cstring>"},"chainId":{"type":"string","description":"Required. Blockchain network identifier. Hex format is recommended, for example Sepolia `aa36a7`.","example":"aa36a7","isRequired":true,"uniqueKey":"chainId","typeLabel":"string"},"signerAddress":{"type":"string","description":"Optional. Wallet address that will sign the prepared transaction. If omitted, the API uses investorAddress for this method.","example":"0x742d35Cc6634C0532925a3b8D4C9db96c4b4d8b","uniqueKey":"signerAddress","typeLabel":"string"},"tokenSymbol":{"type":"string","description":"Required. Token symbol. Must be 2 to 5 uppercase letters or numbers.","example":"EXMPL","uniqueKey":"tokenSymbol","typeLabel":"string"},"tokenType":{"type":"string","enum":["EQUITY","DEBT","BILL_FACTORING","ICO","STABLECOIN","REVENUE_SHARE","RWA_TOKEN","PROFIT_SHARING"],"example":"EQUITY","description":"Optional. Token type. Defaults to EQUITY when omitted.","uniqueKey":"tokenType","typeLabel":"enum\u003cstring>"},"tokenizerEmail":{"type":"string","description":"Optional. Tokenizer email. Required for newTokenization, newSto, and closeOffer.","example":"tokenizer@example.com","format":"email","uniqueKey":"tokenizerEmail","typeLabel":"string\u003cemail>"},"acceptedCoin":{"type":"string","description":"Required. Accepted payment token symbol.","example":"USDT","uniqueKey":"acceptedCoin","typeLabel":"string"},"amount":{"type":"string","description":"Optional. Amount used by approve, burnToken, transferFrom, transferTo, and dividendDistribution.","example":"100","uniqueKey":"amount","typeLabel":"string"},"endDate":{"type":"string","description":"Required. STO end date.","example":"2026-12-31T23:59:59.000Z","format":"date-time","uniqueKey":"endDate","typeLabel":"string\u003cdate-time>"},"from":{"type":"string","description":"Optional. Source address required by transferFrom.","example":"0x1111111111111111111111111111111111111111","pattern":"^0x[a-fA-F0-9]{40}$","uniqueKey":"from","typeLabel":"string"},"initialHolders":{"type":"array","description":"Optional. Initial holders paired by index with preMints. Provide walletAddress directly, or email when a DFNS wallet can be resolved.","items":{"type":"object","properties":{"walletAddress":{"type":"string","description":"Optional. Holder wallet address.","example":"0x1111111111111111111111111111111111111111","pattern":"^0x[a-fA-F0-9]{40}$","uniqueKey":"initialHolders.items.[INDEX].walletAddress","typeLabel":"string"},"email":{"type":"string","description":"Optional. Holder email used to resolve a DFNS wallet when walletAddress is omitted.","example":"holder@example.com","format":"email","uniqueKey":"initialHolders.items.[INDEX].email","typeLabel":"string\u003cemail>"}},"uniqueKey":"initialHolders.items.[INDEX]","typeLabel":"object"},"example":[{"walletAddress":"0x1111111111111111111111111111111111111111"}],"uniqueKey":"initialHolders","typeLabel":"object[]"},"investmentAmount":{"type":"string","description":"Required. Payment-token amount to invest.","example":"1000","uniqueKey":"investmentAmount","typeLabel":"string"},"investorAddress":{"type":"string","description":"Optional. Investor wallet address. Required for newInvest and claimTokens; optional for approve payment-token owner scope.","example":"0x1111111111111111111111111111111111111111","pattern":"^0x[a-fA-F0-9]{40}$","uniqueKey":"investorAddress","typeLabel":"string"},"investorEmail":{"type":"string","description":"Optional. Investor email. Required for newInvest, claimTokens, burnToken, and each whitelist/mint recipient.","example":"investor@example.com","format":"email","uniqueKey":"investorEmail","typeLabel":"string\u003cemail>"},"maxInvestment":{"type":"string","description":"Required. Maximum investment amount.","example":"10000","uniqueKey":"maxInvestment","typeLabel":"string"},"maxRaiseUSD":{"type":"string","description":"Required. Maximum raise amount in USD.","example":"100000","uniqueKey":"maxRaiseUSD","typeLabel":"string"},"minInvestment":{"type":"string","description":"Required. Minimum investment amount.","example":"100","uniqueKey":"minInvestment","typeLabel":"string"},"minRaiseUSD":{"type":"string","description":"Required. Minimum raise amount in USD.","example":"10000","uniqueKey":"minRaiseUSD","typeLabel":"string"},"name":{"type":"string","description":"Required. Name of the tokenized asset.","example":"Example Token","uniqueKey":"name","typeLabel":"string"},"newInvestor":{"type":"object","description":"Optional. Default profile data used when creating missing investor users.","properties":{"name":{"type":"string","description":"Optional. Investor first name.","example":"John","uniqueKey":"newInvestor.name","typeLabel":"string"},"surname":{"type":"string","description":"Optional. Investor surname.","example":"Doe","uniqueKey":"newInvestor.surname","typeLabel":"string"},"middleName":{"type":"string","description":"Optional. Investor middle name.","example":"A.","uniqueKey":"newInvestor.middleName","typeLabel":"string"},"secondSurname":{"type":"string","description":"Optional. Investor second surname.","example":"Smith","uniqueKey":"newInvestor.secondSurname","typeLabel":"string"},"type":{"type":"string","description":"Optional. Investor type. Defaults to INVESTOR_PERSON.","example":"INVESTOR_PERSON","uniqueKey":"newInvestor.type","typeLabel":"string"}},"uniqueKey":"newInvestor","typeLabel":"object"},"offeringName":{"type":"string","description":"Required. Name of the STO offering.","example":"Series A","uniqueKey":"offeringName","typeLabel":"string"},"paymentTokenSymbol":{"type":"string","description":"Optional. Payment token symbol used by newInvest. If omitted, the chain default payment token is used.","example":"USDT","uniqueKey":"paymentTokenSymbol","typeLabel":"string"},"preMints":{"type":"array","description":"Optional. Pre-mint amounts. If provided, initialHolders must also be provided with the same length.","items":{"type":"object","required":["amount"],"properties":{"amount":{"type":"string","description":"Required. Amount to pre-mint to the holder at the same array index.","example":"1000","isRequired":true,"uniqueKey":"preMints.items.[INDEX].amount","typeLabel":"string"}},"uniqueKey":"preMints.items.[INDEX]","typeLabel":"object"},"example":[{"amount":"1000"}],"uniqueKey":"preMints","typeLabel":"object[]"},"spenderAddress":{"type":"string","description":"Optional. Spender address required by approve. Before `dividendDistribution`, this must be the STO `tokenAddress` returned by `GET /get-tokenizer-info`, not `escrowAddress`.","example":"0x3333333333333333333333333333333333333333","pattern":"^0x[a-fA-F0-9]{40}$","uniqueKey":"spenderAddress","typeLabel":"string"},"startDate":{"type":"string","description":"Required. STO start date.","example":"2026-09-01T00:00:00.000Z","format":"date-time","uniqueKey":"startDate","typeLabel":"string\u003cdate-time>"},"supplyCap":{"type":"string","description":"Optional. Maximum token supply. Defaults to `0` when omitted.","example":"1000000","uniqueKey":"supplyCap","typeLabel":"string"},"to":{"type":"string","description":"Optional. Destination address required by transferFrom and transferTo.","example":"0x2222222222222222222222222222222222222222","pattern":"^0x[a-fA-F0-9]{40}$","uniqueKey":"to","typeLabel":"string"},"tokenAmount":{"type":"string","description":"Required. Number of tokens offered in the STO.","example":"1000","uniqueKey":"tokenAmount","typeLabel":"string"},"tokenizerAddress":{"type":"string","description":"Optional. Tokenizer wallet address used by tokenization setup flows. It is required by `approve` when `tokenSymbol` is a shared payment token; use `companyWalletAddress` from `GET /get-tokenizer-info` for the related asset.","example":"0x4444444444444444444444444444444444444444","pattern":"^0x[a-fA-F0-9]{40}$","uniqueKey":"tokenizerAddress","typeLabel":"string"},"url":{"type":"string","description":"Optional. Token documentation URL. Defaults to an empty string when omitted.","example":"https://example.com/token-docs","uniqueKey":"url","typeLabel":"string"},"userToMint":{"type":"array","minItems":1,"description":"Required. Users to mint tokens to.","items":{"type":"object","required":["investorEmail","amount"],"properties":{"investorEmail":{"type":"string","description":"Required. Recipient investor email.","example":"investor@example.com","format":"email","isRequired":true,"uniqueKey":"userToMint.items.[INDEX].investorEmail","typeLabel":"string\u003cemail>"},"amount":{"type":"string","description":"Required. Positive whole-token amount to mint.","example":"100","isRequired":true,"uniqueKey":"userToMint.items.[INDEX].amount","typeLabel":"string"},"investorAddress":{"type":"string","description":"Optional. Recipient wallet address. If omitted, the API attempts to create or resolve a DFNS wallet.","example":"0x1111111111111111111111111111111111111111","pattern":"^0x[a-fA-F0-9]{40}$","uniqueKey":"userToMint.items.[INDEX].investorAddress","typeLabel":"string"},"needWhitelist":{"type":"boolean","description":"Optional. Whether the recipient should be whitelisted before minting. Defaults to true unless explicitly false.","example":true,"uniqueKey":"userToMint.items.[INDEX].needWhitelist","typeLabel":"boolean"},"name":{"type":"string","description":"Optional. Investor first name used when creating a new investor record.","example":"John","uniqueKey":"userToMint.items.[INDEX].name","typeLabel":"string"},"surname":{"type":"string","description":"Optional. Investor surname used when creating a new investor record.","example":"Doe","uniqueKey":"userToMint.items.[INDEX].surname","typeLabel":"string"}},"uniqueKey":"userToMint.items.[INDEX]","typeLabel":"object"},"example":[{"investorEmail":"investor@example.com","investorAddress":"0x1111111111111111111111111111111111111111","amount":"100","needWhitelist":true}],"uniqueKey":"userToMint","typeLabel":"object[]"},"userToWhitelist":{"type":"array","minItems":1,"description":"Required. Users to whitelist or blacklist.","items":{"type":"object","required":["investorAddress","investorEmail","whitelistStatus"],"properties":{"investorAddress":{"type":"string","description":"Required. Investor wallet address.","example":"0x1111111111111111111111111111111111111111","pattern":"^0x[a-fA-F0-9]{40}$","isRequired":true,"uniqueKey":"userToWhitelist.items.[INDEX].investorAddress","typeLabel":"string"},"investorEmail":{"type":"string","description":"Required. Investor email used for the investor record.","example":"investor@example.com","format":"email","isRequired":true,"uniqueKey":"userToWhitelist.items.[INDEX].investorEmail","typeLabel":"string\u003cemail>"},"whitelistStatus":{"type":"boolean","description":"Required. `true` to whitelist, `false` to blacklist.","example":true,"isRequired":true,"uniqueKey":"userToWhitelist.items.[INDEX].whitelistStatus","typeLabel":"boolean"}},"uniqueKey":"userToWhitelist.items.[INDEX]","typeLabel":"object"},"example":[{"investorAddress":"0x1111111111111111111111111111111111111111","investorEmail":"investor@example.com","whitelistStatus":true}],"uniqueKey":"userToWhitelist","typeLabel":"object[]"},"ownerEmail":{"type":"string","example":"owner@example.com","description":"Tokenizer owner email used by agentic methods.","uniqueKey":"ownerEmail","typeLabel":"string"},"email":{"type":"string","example":"reviewer@example.com","description":"Tracking email used by feedback and agent token methods.","uniqueKey":"email","typeLabel":"string"},"services":{"type":"array","items":{"type":"object","uniqueKey":"services.items.[INDEX]","typeLabel":"object"},"description":"Agent service descriptors used by agentRegister.","uniqueKey":"services","typeLabel":"object[]"},"metadata":{"type":"object","description":"Agent metadata stored in the registration file.","uniqueKey":"metadata","typeLabel":"object"},"aiModelName":{"type":"string","example":"gpt-4o","description":"AI model name for agent registration or metadata updates.","uniqueKey":"aiModelName","typeLabel":"string"},"aiModelProvider":{"type":"string","example":"openai","description":"AI model provider stored in the agent profile.","uniqueKey":"aiModelProvider","typeLabel":"string"},"agentUuid":{"type":"string","description":"Internal tokenized agent UUID returned by agentRegister.","uniqueKey":"agentUuid","typeLabel":"string"},"agentId":{"oneOf":[{"type":"string","description":"On-chain ERC-8004 agent ID.","uniqueKey":"agentId.oneOf.0","typeLabel":"string"},{"type":"number","description":"On-chain ERC-8004 agent ID.","uniqueKey":"agentId.oneOf.1","typeLabel":"number"}],"uniqueKey":"agentId","typeLabel":"string | number"},"metadataKey":{"type":"string","example":"modelName","description":"Metadata key used by agentSetMetadata.","uniqueKey":"metadataKey","typeLabel":"string"},"metadataValue":{"description":"Metadata value used by agentSetMetadata.","uniqueKey":"metadataValue","typeLabel":"any"},"metadataEncoding":{"type":"string","enum":["string","json","hex"],"description":"Encoding mode for agentSetMetadata.","uniqueKey":"metadataEncoding","typeLabel":"enum\u003cstring>"},"newWallet":{"type":"string","description":"Agent wallet assigned by agentSetWallet.","uniqueKey":"newWallet","typeLabel":"string"},"signature":{"type":"string","description":"Hex signature used by agentSetWallet.","uniqueKey":"signature","typeLabel":"string"},"deadline":{"oneOf":[{"type":"string","description":"Signature deadline used by agentSetWallet.","uniqueKey":"deadline.oneOf.0","typeLabel":"string"},{"type":"number","description":"Signature deadline used by agentSetWallet.","uniqueKey":"deadline.oneOf.1","typeLabel":"number"}],"uniqueKey":"deadline","typeLabel":"string | number"},"feedbackIndex":{"oneOf":[{"type":"string","description":"Feedback index used by reputation methods.","uniqueKey":"feedbackIndex.oneOf.0","typeLabel":"string"},{"type":"number","description":"Feedback index used by reputation methods.","uniqueKey":"feedbackIndex.oneOf.1","typeLabel":"number"}],"uniqueKey":"feedbackIndex","typeLabel":"string | number"},"clientAddress":{"type":"string","description":"Reviewer/client address used by agentAppendFeedbackResponse.","uniqueKey":"clientAddress","typeLabel":"string"},"responseURI":{"type":"string","description":"Off-chain response URI used by agentAppendFeedbackResponse.","uniqueKey":"responseURI","typeLabel":"string"},"feedbackURI":{"type":"string","description":"Off-chain feedback URI used by agentGiveFeedback.","uniqueKey":"feedbackURI","typeLabel":"string"},"feedbackHash":{"type":"string","description":"Optional 32-byte content hash for feedback.","uniqueKey":"feedbackHash","typeLabel":"string"},"responseHash":{"type":"string","description":"Optional 32-byte content hash for a feedback response.","uniqueKey":"responseHash","typeLabel":"string"},"agentWallet":{"type":"string","description":"Operational agent wallet used by agentCreateToken.","uniqueKey":"agentWallet","typeLabel":"string"},"symbol":{"type":"string","example":"MAT","description":"Agent token symbol used by agentCreateToken.","uniqueKey":"symbol","typeLabel":"string"},"premint":{"type":"string","description":"Human-readable premint amount used by agentCreateToken.","uniqueKey":"premint","typeLabel":"string"},"decimals":{"type":"number","description":"Agent token decimals. Defaults to 18.","uniqueKey":"decimals","typeLabel":"number"},"tokenAddress":{"type":"string","description":"Deployed agent token address used by agentMintToken and agentBurnToken.","uniqueKey":"tokenAddress","typeLabel":"string"},"x402Support":{"type":"boolean","description":"Whether the registered agent declares x402 support in its profile.","uniqueKey":"x402Support","typeLabel":"boolean"},"active":{"type":"boolean","description":"Whether the registered agent should appear active.","uniqueKey":"active","typeLabel":"boolean"},"paymentTokenAddress":{"type":"string","description":"Optional. Payment token contract address override. If omitted, the chain default payment token is used.","example":"0x5555555555555555555555555555555555555555","pattern":"^0x[a-fA-F0-9]{40}$","uniqueKey":"paymentTokenAddress","typeLabel":"string"}},"required":["method","chainId"],"example":{"method":"newTokenization","signerAddress":"0x742d35Cc6634C0532925a3b8D4C9db96c4b4d8b","chainId":"aa36a7","tokenizerEmail":"tokenizer@example.com","name":"Example Token","tokenSymbol":"EXMPL","tokenType":"EQUITY","supplyCap":"1000000","url":"https://example.com/token-docs","preMints":[{"amount":"1000"}],"initialHolders":[{"walletAddress":"0x1111111111111111111111111111111111111111"}]},"uniqueKey":"","typeLabel":"object"},"example":{"method":"newTokenization","signerAddress":"0x742d35Cc6634C0532925a3b8D4C9db96c4b4d8b","chainId":"aa36a7","tokenizerEmail":"tokenizer@example.com","name":"Example Token","tokenSymbol":"EXMPL","tokenType":"EQUITY","supplyCap":"1000000","url":"https://example.com/token-docs","preMints":[{"amount":"1000"}],"initialHolders":[{"walletAddress":"0x1111111111111111111111111111111111111111"}]},"examples":{"Example":{"title":"Example","value":{"method":"newTokenization","signerAddress":"0x742d35Cc6634C0532925a3b8D4C9db96c4b4d8b","chainId":"aa36a7","tokenizerEmail":"tokenizer@example.com","name":"Example Token","tokenSymbol":"EXMPL","tokenType":"EQUITY","supplyCap":"1000000","url":"https://example.com/token-docs","preMints":[{"amount":"1000"}],"initialHolders":[{"walletAddress":"0x1111111111111111111111111111111111111111"}]}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"558df2b4-7897-4c38-a873-4c937dea09dc":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"transactions":{"type":"array","description":"Array of unsigned transaction objects ready for signing","items":{"type":"object","properties":{"from":{"type":"string","description":"Sender address","example":"0x1234567890abcdef1234567890abcdef12345678","uniqueKey":"transactions.items.[INDEX].from","typeLabel":"string"},"to":{"type":"string","description":"Recipient address","example":"0xabcdef1234567890abcdef1234567890abcdef12","uniqueKey":"transactions.items.[INDEX].to","typeLabel":"string"},"value":{"type":"string","description":"Transaction value in hex","example":"0x00","uniqueKey":"transactions.items.[INDEX].value","typeLabel":"string"},"nonce":{"type":"integer","description":"Transaction nonce","example":3792,"uniqueKey":"transactions.items.[INDEX].nonce","typeLabel":"integer"},"chainId":{"type":"integer","description":"Blockchain network chain ID","example":11155111,"uniqueKey":"transactions.items.[INDEX].chainId","typeLabel":"integer"},"data":{"type":"string","description":"Transaction data payload","example":"0xd362e8a70000000000000000000000000000000000000000000000000000000000000040...","uniqueKey":"transactions.items.[INDEX].data","typeLabel":"string"},"type":{"type":"integer","description":"Transaction type (EIP-1559)","example":2,"uniqueKey":"transactions.items.[INDEX].type","typeLabel":"integer"},"maxPriorityFeePerGas":{"type":"string","description":"Maximum priority fee per gas","example":"1150000","uniqueKey":"transactions.items.[INDEX].maxPriorityFeePerGas","typeLabel":"string"},"maxFeePerGas":{"type":"string","description":"Maximum fee per gas","example":"1156037","uniqueKey":"transactions.items.[INDEX].maxFeePerGas","typeLabel":"string"},"gasLimit":{"type":"string","description":"Gas limit in hex","example":"0xccef","uniqueKey":"transactions.items.[INDEX].gasLimit","typeLabel":"string"}},"uniqueKey":"transactions.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"transactions","typeLabel":"object[]"},"txId":{"type":"string","description":"Unique identifier for this transaction batch (required for /send-transactions). This is NOT a blockchain transaction hash.","example":"0x46adea7bdf49c576a760102e0d6bc9ecd650b3998588cd3d7f576a7973426aad","isRequired":true,"uniqueKey":"txId","typeLabel":"string"},"info":{"type":"object","description":"Metadata about the operation","properties":{"tokenizerEmail":{"type":"string","description":"Email of the tokenizer","example":"tokenizer@example.com","uniqueKey":"info.tokenizerEmail","typeLabel":"string"},"tokenSymbol":{"type":"string","description":"Symbol of the token","example":"EXMPL","uniqueKey":"info.tokenSymbol","typeLabel":"string"},"investorEmail":{"type":"string","description":"Email of the investor (when applicable)","example":"investor@example.com","uniqueKey":"info.investorEmail","typeLabel":"string"}},"uniqueKey":"info","typeLabel":"object"}},"required":["transactions","txId"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"transactions":[{"from":"0x1234567890abcdef1234567890abcdef12345678","to":"0xabcdef1234567890abcdef1234567890abcdef12","value":"0x00","nonce":3792,"chainId":11155111,"data":"0xd362e8a70000000000000000000000000000000000000000000000000000000000000040...","type":2,"maxPriorityFeePerGas":"1150000","maxFeePerGas":"1156037","gasLimit":"0xccef"}],"txId":"0x46adea7bdf49c576a760102e0d6bc9ecd650b3998588cd3d7f576a7973426aad","info":{"tokenizerEmail":"tokenizer@example.com","tokenSymbol":"EXMPL","investorEmail":"investor@example.com"}}}},"exampleType":"generated"}},"exampleType":"generated"},"b1f602b5-c8cd-47db-be57-6e7694acacdd":{"description":"x402 payment required. The response includes a PAYMENT-REQUIRED header with a base64-encoded x402 payment request.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"1e60c1bd-e2ec-4792-9e32-8a29dafe8f06":{"apiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","scopes":[]}},"cf867731-4b6b-4a04-90b4-13d1045fb268":{"x402Payment":{"type":"apiKey","in":"header","name":"X-Payment","description":"Base64-encoded x402 payment payload. Supported for x402-eligible agentic methods on /x402/... facades, /prepare-transactions, and eligible /send-transactions retries.","scopes":[]}}},"servers":{"c49d4b74-8565-45d3-9488-a1db87f8218a":{"url":"https://api.sandbox.brickken.com","description":"Sandbox Environment"},"d17a9f2b-96ea-4c3e-a855-b25208a2a781":{"url":"https://api.brickken.com","description":"Production Environment"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","scopes":[]},"schema":{"title":"x-api-key","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKeyAuth","name":"x-api-key"}],"title":"apiKeyAuth"},{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-Payment","description":"Base64-encoded x402 payment payload. Supported for x402-eligible agentic methods on /x402/... facades, /prepare-transactions, and eligible /send-transactions retries.","scopes":[]},"schema":{"title":"X-Payment","type":"string","description":"Base64-encoded x402 payment payload. Supported for x402-eligible agentic methods on /x402/... facades, /prepare-transactions, and eligible /send-transactions retries.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"x402Payment","name":"X-Payment"}],"title":"x402Payment"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"brickken","siteName":"Brickken Documentation","title":"Prepare Transactions - Brickken Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-11T06:10:47.610Z","originalFileLocation":"api-reference/endpoint/create.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Description: This endpoint prepares unsigned transactions for the method selected in the method field. For the exact required and optional body fields of a single method, open the matching page under Prepare Transactions. For a payment-token approve used before dividendDistribution, call GET /get-tokenizer-info for the tokenized asset and set spenderAddress to its returned tokenAddress. Do not use escrowAddress; the approval must be confirmed on-chain before preparing the distribution. Headers: - x-api-key: YOUR_API_KEY for API-key auth, or X-Payment for x402 retries on eligible agentic methods - Content-Type: application/json Common Request Body Parameters: - method (string, required): Operation to prepare. - chainId (string, required): Blockchain network identifier. Hex format is recommended, for example aa36a7 for Sepolia. - signerAddress (string, conditionally required): Wallet address that signs the prepared transaction. Most methods require it; newInvest and claimTokens can use investorAddress as the signer.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Brickken Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/brickken/7zynTh_4u-m-NSjz/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/brickken/7zynTh_4u-m-NSjz/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/brickken/7zynTh_4u-m-NSjz/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/brickken/7zynTh_4u-m-NSjz/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/brickken/7zynTh_4u-m-NSjz/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/brickken/7zynTh_4u-m-NSjz/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/brickken/7zynTh_4u-m-NSjz/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/brickken/7zynTh_4u-m-NSjz/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/brickken/7zynTh_4u-m-NSjz/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Prepare Transactions - Brickken Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Description: This endpoint prepares unsigned transactions for the method selected in the method field. For the exact required and optional body fields of a single method, open the matching page under Prepare Transactions. For a payment-token approve used before dividendDistribution, call GET /get-tokenizer-info for the tokenized asset and set spenderAddress to its returned tokenAddress. Do not use escrowAddress; the approval must be confirmed on-chain before preparing the distribution. Headers: - x-api-key: YOUR_API_KEY for API-key auth, or X-Payment for x402 retries on eligible agentic methods - Content-Type: application/json Common Request Body Parameters: - method (string, required): Operation to prepare. - chainId (string, required): Blockchain network identifier. Hex format is recommended, for example aa36a7 for Sepolia. - signerAddress (string, conditionally required): Wallet address that signs the prepared transaction. Most methods require it; newInvest and claimTokens can use investorAddress as the signer.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Brickken Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.brickken.com/api-reference/endpoint/create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://brickken.mintlify.app/_mintlify/api/og/v2?division=Prepare+Transactions\u0026amp;title=Prepare+Transactions\u0026amp;description=**Description%3A**+This+endpoint+prepares+unsigned+transactions+for+the+method+selected+in+the+%60method%60+field.+For+the+exact+required+and+optional+body+fields+of+\u0026amp;theme=2a5dee1e52c4281f2511c0cb\u0026amp;signature=3652848def5fe99618c999b0193764c9cbe82666a050d2ba03d7848b4d0d5ea6\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Prepare Transactions - Brickken Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Description: This endpoint prepares unsigned transactions for the method selected in the method field. For the exact required and optional body fields of a single method, open the matching page under Prepare Transactions. For a payment-token approve used before dividendDistribution, call GET /get-tokenizer-info for the tokenized asset and set spenderAddress to its returned tokenAddress. Do not use escrowAddress; the approval must be confirmed on-chain before preparing the distribution. Headers: - x-api-key: YOUR_API_KEY for API-key auth, or X-Payment for x402 retries on eligible agentic methods - Content-Type: application/json Common Request Body Parameters: - method (string, required): Operation to prepare. - chainId (string, required): Blockchain network identifier. Hex format is recommended, for example aa36a7 for Sepolia. - signerAddress (string, conditionally required): Wallet address that signs the prepared transaction. Most methods require it; newInvest and claimTokens can use investorAddress as the signer.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://brickken.mintlify.app/_mintlify/api/og/v2?division=Prepare+Transactions\u0026amp;title=Prepare+Transactions\u0026amp;description=**Description%3A**+This+endpoint+prepares+unsigned+transactions+for+the+method+selected+in+the+%60method%60+field.+For+the+exact+required+and+optional+body+fields+of+\u0026amp;theme=2a5dee1e52c4281f2511c0cb\u0026amp;signature=3652848def5fe99618c999b0193764c9cbe82666a050d2ba03d7848b4d0d5ea6\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/brickken/7zynTh_4u-m-NSjz/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Brickken Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4C82df\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.brickken.com/api-reference/endpoint/create\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/create.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.brickken.com/#organization\",\"name\":\"Brickken Documentation\",\"url\":\"https://docs.brickken.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/brickken/UYpLPKOSKNI6CnjX/logo/light.svg?fit=max\u0026auto=format\u0026n=UYpLPKOSKNI6CnjX\u0026q=85\u0026s=192d7d8eaa4997ed5fe5ebf73e4e6aee\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.brickken.com#website\",\"name\":\"Brickken Documentation\",\"url\":\"https://docs.brickken.com\",\"publisher\":{\"@id\":\"https://docs.brickken.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.brickken.com/api-reference/endpoint/create#webpage\",\"url\":\"https://docs.brickken.com/api-reference/endpoint/create\",\"name\":\"Prepare Transactions\",\"description\":\"Description: This endpoint prepares unsigned transactions for the method selected in the method field. For the exact required and optional body fields of a single method, open the matching page under Prepare Transactions. For a payment-token approve used before dividendDistribution, call GET /get-tokenizer-info for the tokenized asset and set spenderAddress to its returned tokenAddress. Do not use escrowAddress; the approval must be confirmed on-chain before preparing the distribution. Headers: - x-api-key: YOUR_API_KEY for API-key auth, or X-Payment for x402 retries on eligible agentic methods - Content-Type: application/json Common Request Body Parameters: - method (string, required): Operation to prepare. - chainId (string, required): Blockchain network identifier. Hex format is recommended, for example aa36a7 for Sepolia. - signerAddress (string, conditionally required): Wallet address that signs the prepared transaction. Most methods require it; newInvest and claimTokens can use investorAddress as the signer.\",\"dateModified\":\"2026-08-11T06:10:47.610Z\",\"isPartOf\":{\"@id\":\"https://docs.brickken.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.brickken.com/api-reference/endpoint/create#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.brickken.com/api-reference/endpoint/create#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Brickken Documentation\",\"item\":\"https://docs.brickken.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Prepare Transactions\",\"item\":\"https://docs.brickken.com/api-reference/endpoint/create\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.brickken.com/api-reference/endpoint/create#apireference\",\"headline\":\"Prepare Transactions\",\"name\":\"Prepare Transactions\",\"description\":\"Description: This endpoint prepares unsigned transactions for the method selected in the method field. For the exact required and optional body fields of a single method, open the matching page under Prepare Transactions. For a payment-token approve used before dividendDistribution, call GET /get-tokenizer-info for the tokenized asset and set spenderAddress to its returned tokenAddress. Do not use escrowAddress; the approval must be confirmed on-chain before preparing the distribution. Headers: - x-api-key: YOUR_API_KEY for API-key auth, or X-Payment for x402 retries on eligible agentic methods - Content-Type: application/json Common Request Body Parameters: - method (string, required): Operation to prepare. - chainId (string, required): Blockchain network identifier. Hex format is recommended, for example aa36a7 for Sepolia. - signerAddress (string, conditionally required): Wallet address that signs the prepared transaction. Most methods require it; newInvest and claimTokens can use investorAddress as the signer.\",\"url\":\"https://docs.brickken.com/api-reference/endpoint/create\",\"mainEntityOfPage\":{\"@id\":\"https://docs.brickken.com/api-reference/endpoint/create#webpage\"},\"dateModified\":\"2026-08-11T06:10:47.610Z\",\"publisher\":{\"@id\":\"https://docs.brickken.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.brickken.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Brickken Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Brickken Documentation","nav":{"global":{"anchors":[{"anchor":"Authentication","icon":"key","href":"/get-started/authentication"},{"anchor":"Request an API key","icon":"envelope","href":"/get-started/request-api-key"}]},"tabs":[{"tab":"Get Started","pages":[{"title":"Get Started","href":""}]},{"tab":"Dapp API","groups":[{"group":"Overview","pages":[{"title":"Dapp API","href":"/api-reference/introduction"},{"title":"Postman Collection","icon":"download","href":"/api-reference/postman"}]},{"group":"Guides","pages":[{"title":"Tokenize an asset and run an STO","icon":"route","href":"/api-reference/guides/tokenize-and-run-an-sto"},{"title":"Browser wallets","icon":"wallet","href":"/api-reference/guides/browser-wallets"},{"title":"Troubleshooting","description":"Decode a failed Dapp API call, from HTTP validation errors to raw on-chain revert data.","icon":"stethoscope","href":"/api-reference/guides/troubleshooting"}]},{"group":"Prepare Transactions","pages":[{"title":"Prepare Transactions","openapi":"api-reference/openapi.json POST /prepare-transactions","href":"/api-reference/endpoint/create"},{"title":"newTokenization","openapi":"api-reference/prepare/newTokenization.json POST /prepare-transactions","description":"Prepares the unsigned transactions that deploy a new tokenized asset.","href":"/api-reference/endpoint/prepare-newTokenization"},{"title":"mintToken","openapi":"api-reference/prepare/mintToken.json POST /prepare-transactions","href":"/api-reference/endpoint/prepare-mintToken"},{"title":"whitelist","openapi":"api-reference/prepare/whitelist.json POST /prepare-transactions","href":"/api-reference/endpoint/prepare-whitelist"},{"title":"burnToken","openapi":"api-reference/prepare/burnToken.json POST /prepare-transactions","href":"/api-reference/endpoint/prepare-burnToken"},{"title":"transferFrom","openapi":"api-reference/prepare/transferFrom.json POST /prepare-transactions","href":"/api-reference/endpoint/prepare-transferFrom"},{"title":"transferTo","openapi":"api-reference/prepare/transferTo.json POST /prepare-transactions","href":"/api-reference/endpoint/prepare-transferTo"},{"title":"approve","openapi":"api-reference/prepare/approve.json POST /prepare-transactions","href":"/api-reference/endpoint/prepare-approve"},{"title":"dividendDistribution","openapi":"api-reference/prepare/dividendDistribution.json POST /prepare-transactions","href":"/api-reference/endpoint/prepare-dividendDistribution"},{"title":"newSto","openapi":"api-reference/prepare/newSto.json POST /prepare-transactions","href":"/api-reference/endpoint/prepare-newSto"},{"title":"newInvest","openapi":"api-reference/prepare/newInvest.json POST /prepare-transactions","href":"/api-reference/endpoint/prepare-newInvest"},{"title":"claimTokens","openapi":"api-reference/prepare/claimTokens.json POST /prepare-transactions","href":"/api-reference/endpoint/prepare-claimTokens"},{"title":"closeOffer","openapi":"api-reference/prepare/closeOffer.json POST /prepare-transactions","href":"/api-reference/endpoint/prepare-closeOffer"}]},{"group":"Send Transactions","pages":[{"title":"Send Transactions","openapi":"POST /send-transactions","href":"/api-reference/endpoint/send"}]},{"group":"Read Endpoints","pages":[{"title":"Get Network Information","openapi":"GET /get-network-info","href":"/api-reference/endpoint/get-network-info"},{"title":"Get Tokenizer Information","openapi":"GET /get-tokenizer-info","href":"/api-reference/endpoint/get-tokenizer-info"},{"title":"Get Token Information","openapi":"GET /get-token-info","href":"/api-reference/endpoint/get-token-info"},{"title":"Get STOs","openapi":"GET /get-stos","href":"/api-reference/endpoint/get-stos"},{"title":"Get STO by ID","openapi":"GET /get-sto-by-id","href":"/api-reference/endpoint/get-sto-by-id"},{"title":"Get STO Balance","openapi":"GET /get-sto-balance","href":"/api-reference/endpoint/get-sto-balance"},{"title":"Get Investments by STO","openapi":"GET /get-investments-by-sto-id","href":"/api-reference/endpoint/get-investments-by-sto"},{"title":"Get Investor Information","openapi":"GET /get-investor-info","href":"/api-reference/endpoint/get-investors-info"},{"title":"Get Whitelist Status","openapi":"GET /get-whitelist-status","href":"/api-reference/endpoint/get-whitelist-status"},{"title":"Get Balance and Whitelist Status","openapi":"GET /get-balance-whitelist","href":"/api-reference/endpoint/get-balance-whitelist"},{"title":"Get Allowance","openapi":"GET /get-allowance","href":"/api-reference/endpoint/get-allowance"},{"title":"Get Dividend Distribution Info","openapi":"GET /get-dividend-distribution","href":"/api-reference/endpoint/get-dividend-distribution"},{"title":"Get Transaction Status","openapi":"GET /get-transaction-status","href":"/api-reference/endpoint/get-transaction-status"}]},{"group":"Token Documents","pages":[{"title":"Update Token Documentation","openapi":"PATCH /patch-token-docs","href":"/api-reference/endpoint/update-docs"}]},{"group":"KYC","pages":[{"title":"Create KYC Link","openapi":"POST /create-kyc-link","href":"/api-reference/endpoint/create-kyc-link"}]}]},{"tab":"Agentic API","pages":[{"title":"Agentic API","href":"/api-reference/endpoint/agentic-methods-x402"}]},{"tab":"MCP","pages":[{"title":"MCP","href":"/mcp/introduction"}]},{"tab":"CLI","pages":[{"title":"CLI","href":"/cli/introduction"}]},{"tab":"SDK","pages":[{"title":"SDK","href":"/sdk/introduction"}]},{"tab":"Skill","pages":[{"title":"Skill","href":"/skill/introduction"}]}]},"basePath":"","title":"Prepare Transactions - Brickken Documentation","buildId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","deploymentId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-B7XKH4J3.js","utils-lOYzL7z-.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DF6jUUIM.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dpsj5f7C.js","snippetPresets-CYeiDe8v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CUFz1YZ_.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-D8H_iLS4.js","shallow-DdluZBHX.js","getApiPlaygroundDisplay-B9922vev.js","CodeSnippet-CMoRNGYs.js","CodeSnippets-DwyrPHuw.js","Page-DSVu9Ucl.js","getPastedJson-G-zIvlHh.js","icon-B03fnEy0.js","MethodPill-CW7teklc.js","DuplicateIcon-CtO8eekd.js","createIcon-DZTKdM_A.js","DynamicMarkdown-D5M2At0B.js","SectionHeading-C_2NaA2U.js","axios-vUo_bRtp.js","Markdown-D7QRHV3m.js","clsx-D1Z-ELXV.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-lvhuD9Du.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CKfC4ywL.js"]}