Prepares an unsigned Solana v0 message for the authenticated user’s embedded wallet to sign. Supports transfer, payment, yield.deposit, and yield.withdraw intents. Kamino is the only yield protocol supported today. The response messageBytes are base64-encoded Solana message bytes, not a serialized transaction; the wallet must sign the decoded bytes exactly and submit only the detached signature.
User bearer credential: either a Cognito JWT or an ak_ user API key. Backend integrators using HMAC must include the user API key alongside the three HMAC headers on user-scoped endpoints.
Request body for preparing a Solana transaction. The authenticated user id is derived from the bearer token; clients do not send userId to Wallet Kit. The server builds and stores an unsigned Solana v0 message, then returns the exact bytes the embedded wallet must sign.
Request body for preparing a Solana transaction. The authenticated user id is derived from the bearer token; clients do not send userId to Wallet Kit. The server builds and stores an unsigned Solana v0 message, then returns the exact bytes the embedded wallet must sign.
clientIntentId
string
required
Caller-supplied idempotency key for this prepare call. Repeating the same clientIntentId with an identical intent returns the existing prepared transaction while it is active. Reusing the same key with different intent details returns a conflict error.
Minimum string length: 1
intentVersion
enum<number>
required
Version of the intent schema. Production prepare currently expects exactly 1.
Available options:
1
Example:
1
intent
object
required
Discriminated Solana transaction intent. Use transfer for wallet transfers, payment for Spritz off-ramp quote payments, yield.deposit for Kamino USDC vault deposits, and yield.withdraw for Kamino USDC vault withdrawals.
Option 1
Option 2
Option 3
Option 4
Show child attributes
feeMode
enum<string>
Available options:
auto,
sponsored_only,
user_paid_only
Response
Prepare response for the embedded-wallet signing flow. Decode messageBytes, sign those exact bytes with userSigner, then submit only the detached base64 signature. Do not submit a serialized transaction or rebuild the message client-side.
Prepare response for the embedded-wallet signing flow. Decode messageBytes, sign those exact bytes with userSigner, then submit only the detached base64 signature. Do not submit a serialized transaction or rebuild the message client-side.
txId
string
required
Server-issued transaction id. Pass this back to the submit endpoint along with the user signature.
messageBytes
string
required
Base64-encoded Solana v0 message bytes. The embedded wallet must sign exactly these bytes after base64 decoding — do not mutate, rebuild, or wrap.
messageFormat
enum<string>
required
Format of messageBytes. solana_message_v0 means the bytes are a Solana v0 message, not a serialized transaction.
Available options:
solana_message_v0
userSigner
string
required
Solana public key that must produce userSignature over the decoded messageBytes.
Example:
"8sLbNZoA1cfnvMJLPfp98ZLAnFSYCFApfJKMbiXNLwxj"
requiredSigners
string[]
required
All signer public keys required by the prepared message. The embedded wallet is responsible for the userSigner; Spritz may add the fee-payer signature during submit.
feePayer
string
required
Solana public key paying the network fee for the prepared transaction.
sponsored
boolean
required
Whether Spritz is expected to pay the Solana network fee for this prepared transaction.
estimatedFeeLamports
integer
required
Estimated Solana network fee in lamports for the prepared message.
Required range: x >= 0
Example:
5000
addressLookupTableAddresses
string[]
required
Address lookup table accounts used by the v0 message. Empty when the message does not use lookup tables.
blockhash
string
required
Recent blockhash embedded in the prepared message. This blockhash is what makes the prepared message expire.
lastValidBlockHeight
integer
required
Last Solana block height at which the prepared message can still be submitted.
Required range: x >= 0
expiresAt
string<date-time>
required
ISO 8601 timestamp at which this prepared transaction expires. Solana blockhashes expire quickly; if submit fails with TX_EXPIRED, call prepare again and sign the new messageBytes.
summary
object
required
Product summary of the prepared transaction. Shape varies by intent. Transfer summaries identify sender, recipient, mint, and amount. Payment summaries identify the off-ramp quote, destination, amount, mint, and required token input. Kamino yield summaries identify protocol, vault, mint, and the deposit amount or withdraw-all request.
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Spritz","colors":{"primary":"#F35130","light":"#FF7954","dark":"#D92F0D"},"logo":{"light":"https://mintcdn.com/spritz/Oo-fWmzSaNcbhJum/logo/light.svg?fit=max\u0026auto=format\u0026n=Oo-fWmzSaNcbhJum\u0026q=85\u0026s=3f82e0ffd2d2c52feefac2c4033878c5","dark":"https://mintcdn.com/spritz/Oo-fWmzSaNcbhJum/logo/dark.svg?fit=max\u0026auto=format\u0026n=Oo-fWmzSaNcbhJum\u0026q=85\u0026s=1e524526e7acb0c02933de3e06bdae06"},"favicon":"https://mintcdn.com/spritz/Oo-fWmzSaNcbhJum/favicon.svg?fit=max\u0026auto=format\u0026n=Oo-fWmzSaNcbhJum\u0026q=85\u0026s=93a2982f7cf7506be67dd928a0cae696","navbar":{"links":[{"href":"https://help.spritz.finance/en/","label":"Support"}],"primary":{"type":"button","label":"Go to App","href":"https://app.spritz.finance"}},"footer":{"socials":{"website":"https://spritz.finance","x":"https://x.com/spritzfinance","discord":"https://discord.gg/spritz"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Help Center","icon":"life-ring","href":"https://help.spritz.finance/en/"},{"anchor":"Website","icon":"globe","href":"https://spritz.finance"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"spritz","hasAudioNarration":false,"actualSubdomain":"spritz","customDomains":["docs.spritz.finance"],"gitSource":{"type":"github","owner":"spritz-finance","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae8b5cfde528214ed20a9a3","clientVersion":"0.0.4160","searchFilterCounts":[{"language":"default","tag":"API Reference","count":120},{"language":"default","tag":"Guides","count":29},{"language":"default","tag":"Wallet Kit","count":24},{"language":"default","tag":"Core Concepts","count":13},{"language":"default","tag":"Integrator","count":13},{"language":"default","tag":"Sandbox","count":12},{"language":"default","tag":"Bills","count":11},{"language":"default","tag":"Cards","count":8},{"language":"default","tag":"Get Started","count":7},{"language":"default","tag":"Use Cases","count":7}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","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":"rbac-expansion","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":"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":"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":"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},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","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}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/wallet-kit/prepare-solana-transaction","slug":"/api-reference/wallet-kit/prepare-solana-transaction","pageMetadata":{"title":"Prepare Solana transaction","description":"Prepares an unsigned Solana v0 message for the authenticated user's embedded wallet to sign. Supports `transfer`, `payment`, `yield.deposit`, and `yield.withdraw` intents. Kamino is the only yield protocol supported today. The response `messageBytes` are base64-encoded Solana message bytes, not a serialized transaction; the wallet must sign the decoded bytes exactly and submit only the detached signature.","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/wallet-kit/solana/transactions/prepare","href":"/api-reference/wallet-kit/prepare-solana-transaction","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Prepares an unsigned Solana v0 message for the authenticated user’s embedded wallet to sign. Supports \", _jsx(_components.code, {\n children: \"transfer\"\n }), \", \", _jsx(_components.code, {\n children: \"payment\"\n }), \", \", _jsx(_components.code, {\n children: \"yield.deposit\"\n }), \", and \", _jsx(_components.code, {\n children: \"yield.withdraw\"\n }), \" intents. Kamino is the only yield protocol supported today. The response \", _jsx(_components.code, {\n children: \"messageBytes\"\n }), \" are base64-encoded Solana message bytes, not a serialized transaction; the wallet must sign the decoded bytes exactly and submit only the detached signature.\"]\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Prepare Solana transaction","description":"Prepares an unsigned Solana v0 message for the authenticated user's embedded wallet to sign. Supports `transfer`, `payment`, `yield.deposit`, and `yield.withdraw` intents. Kamino is the only yield protocol supported today. The response `messageBytes` are base64-encoded Solana message bytes, not a serialized transaction; the wallet must sign the decoded bytes exactly and submit only the detached signature.","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/wallet-kit/solana/transactions/prepare","href":"/api-reference/wallet-kit/prepare-solana-transaction","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Wallet Kit"],"security":["5bfa10ec-2bcb-4df8-a39b-0578399400c6"],"summary":"Prepare Solana transaction","description":"Prepares an unsigned Solana v0 message for the authenticated user's embedded wallet to sign. Supports `transfer`, `payment`, `yield.deposit`, and `yield.withdraw` intents. Kamino is the only yield protocol supported today. The response `messageBytes` are base64-encoded Solana message bytes, not a serialized transaction; the wallet must sign the decoded bytes exactly and submit only the detached signature.","requestBody":"166eb610-c4ec-4d90-a758-70bf9230b16f","responses":{"200":"11eeee8c-b695-40e6-9966-7303f17a637f","401":"f507ec5e-001c-4339-ba44-42c4b3351682","409":"d1c10557-2d78-4f7d-aea8-62898de965b8","422":"df7f0dd3-7640-41e6-bbab-f151dacd4735","500":"fbe665bd-8c15-49ce-977d-60bd618cfa69","502":"15ccabd8-533d-426f-852c-25c501f0a11f","503":"20c45468-33bb-4e5a-b7b0-2dbd5edca307"},"operationId":"postV1Wallet-kitSolanaTransactionsPrepare","method":"post","type":"path","servers":["0b678c23-1093-4a15-9b46-c01fe544a174","933a41d1-9273-480b-a475-9963e51720f0"],"path":"/v1/wallet-kit/solana/transactions/prepare","baseUrlOptions":["https://platform.spritz.finance","https://sandbox.spritz.finance"],"title":"Prepare Solana transaction","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"description":"Request body for preparing a Solana transaction. The authenticated user id is derived from the bearer token; clients do not send `userId` to Wallet Kit. The server builds and stores an unsigned Solana v0 message, then returns the exact bytes the embedded wallet must sign.","required":true,"content":{"application/json":{"schema":{"description":"Request body for preparing a Solana transaction. The authenticated user id is derived from the bearer token; clients do not send `userId` to Wallet Kit. The server builds and stores an unsigned Solana v0 message, then returns the exact bytes the embedded wallet must sign.","type":"object","properties":{"clientIntentId":{"minLength":1,"description":"Caller-supplied idempotency key for this prepare call. Repeating the same `clientIntentId` with an identical intent returns the existing prepared transaction while it is active. Reusing the same key with different intent details returns a conflict error.","type":"string","isRequired":true,"uniqueKey":"clientIntentId","typeLabel":"string"},"intentVersion":{"description":"Version of the intent schema. Production prepare currently expects exactly `1`.","type":"number","example":1,"enum":[1],"isRequired":true,"uniqueKey":"intentVersion","typeLabel":"enum\u003cnumber>"},"intent":{"oneOf":[{"type":"object","description":"Discriminated Solana transaction intent. Use `transfer` for wallet transfers, `payment` for Spritz off-ramp quote payments, `yield.deposit` for Kamino USDC vault deposits, and `yield.withdraw` for Kamino USDC vault withdrawals.","required":["kind","from","to","amount","mint"],"properties":{"kind":{"description":"Intent kind for a native SOL or SPL token transfer.","type":"string","enum":["transfer"],"isRequired":true,"uniqueKey":"intent.oneOf.0.kind","typeLabel":"enum\u003cstring>"},"from":{"minLength":32,"maxLength":44,"pattern":"^[1-9A-HJ-NP-Za-km-z]+$","description":"Solana public key (base58).","type":"string","example":"8sLbNZoA1cfnvMJLPfp98ZLAnFSYCFApfJKMbiXNLwxj","isRequired":true,"uniqueKey":"intent.oneOf.0.from","typeLabel":"string"},"to":{"minLength":32,"maxLength":44,"pattern":"^[1-9A-HJ-NP-Za-km-z]+$","description":"Recipient Solana public key (base58).","type":"string","example":"FqVnHphYBfJTb46iWbwS8oRaAWGnLPVhWqvY1pgZ7yC8","isRequired":true,"uniqueKey":"intent.oneOf.0.to","typeLabel":"string"},"amount":{"minLength":1,"pattern":"^[1-9][0-9]*$","description":"Positive integer amount in base units, formatted as a string. For native SOL this is lamports. For SPL tokens this is the mint's base unit, for example USDC uses 6 decimals.","type":"string","example":"1000000","isRequired":true,"uniqueKey":"intent.oneOf.0.amount","typeLabel":"string"},"mint":{"oneOf":[{"minLength":32,"maxLength":44,"pattern":"^[1-9A-HJ-NP-Za-km-z]+$","description":"SPL mint address for token transfers, or null for native SOL transfers.","type":"string","example":null,"isRequired":true,"uniqueKey":"intent.oneOf.0.mint.oneOf.0","typeLabel":"string"},{"minLength":32,"maxLength":44,"pattern":"^[1-9A-HJ-NP-Za-km-z]+$","description":"SPL mint address for token transfers, or null for native SOL transfers.","type":"null","example":null,"isRequired":true,"uniqueKey":"intent.oneOf.0.mint.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"intent.oneOf.0.mint","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"intent.oneOf.0","typeLabel":"object"},{"type":"object","description":"Discriminated Solana transaction intent. Use `transfer` for wallet transfers, `payment` for Spritz off-ramp quote payments, `yield.deposit` for Kamino USDC vault deposits, and `yield.withdraw` for Kamino USDC vault withdrawals.","required":["kind","from","offRampQuoteId"],"properties":{"kind":{"description":"Intent kind for a Spritz off-ramp quote payment.","type":"string","enum":["payment"],"isRequired":true,"uniqueKey":"intent.oneOf.1.kind","typeLabel":"enum\u003cstring>"},"from":{"minLength":32,"maxLength":44,"pattern":"^[1-9A-HJ-NP-Za-km-z]+$","description":"Solana public key (base58).","type":"string","example":"8sLbNZoA1cfnvMJLPfp98ZLAnFSYCFApfJKMbiXNLwxj","isRequired":true,"uniqueKey":"intent.oneOf.1.from","typeLabel":"string"},"offRampQuoteId":{"minLength":1,"description":"Existing off-ramp quote id. The transaction builder resolves amount due, destination, memo/reference, and token route from this quote.","type":"string","example":"offramp_xyz789","isRequired":true,"uniqueKey":"intent.oneOf.1.offRampQuoteId","typeLabel":"string"}},"isRequired":true,"uniqueKey":"intent.oneOf.1","typeLabel":"object"},{"type":"object","description":"Discriminated Solana transaction intent. Use `transfer` for wallet transfers, `payment` for Spritz off-ramp quote payments, `yield.deposit` for Kamino USDC vault deposits, and `yield.withdraw` for Kamino USDC vault withdrawals.","required":["kind","protocol","from","vault","amount","mint"],"properties":{"kind":{"description":"Intent kind for depositing USDC into a Kamino vault.","type":"string","enum":["yield.deposit"],"isRequired":true,"uniqueKey":"intent.oneOf.2.kind","typeLabel":"enum\u003cstring>"},"protocol":{"description":"Yield protocol that will construct the deposit instructions. Only Kamino is supported for Solana yield transactions today.","type":"string","enum":["kamino"],"isRequired":true,"uniqueKey":"intent.oneOf.2.protocol","typeLabel":"enum\u003cstring>"},"from":{"minLength":32,"maxLength":44,"pattern":"^[1-9A-HJ-NP-Za-km-z]+$","description":"Solana public key (base58).","type":"string","example":"8sLbNZoA1cfnvMJLPfp98ZLAnFSYCFApfJKMbiXNLwxj","isRequired":true,"uniqueKey":"intent.oneOf.2.from","typeLabel":"string"},"vault":{"minLength":32,"maxLength":44,"pattern":"^[1-9A-HJ-NP-Za-km-z]+$","description":"Solana public key (base58).","type":"string","example":"8sLbNZoA1cfnvMJLPfp98ZLAnFSYCFApfJKMbiXNLwxj","isRequired":true,"uniqueKey":"intent.oneOf.2.vault","typeLabel":"string"},"amount":{"minLength":1,"pattern":"^[1-9][0-9]*$","description":"Positive integer amount in base units, formatted as a string. For native SOL this is lamports. For SPL tokens this is the mint's base unit, for example USDC uses 6 decimals.","type":"string","example":"1000000","isRequired":true,"uniqueKey":"intent.oneOf.2.amount","typeLabel":"string"},"mint":{"minLength":32,"maxLength":44,"pattern":"^[1-9A-HJ-NP-Za-km-z]+$","description":"Solana USDC mint address supported by the selected Kamino vault.","type":"string","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","isRequired":true,"uniqueKey":"intent.oneOf.2.mint","typeLabel":"string"}},"isRequired":true,"uniqueKey":"intent.oneOf.2","typeLabel":"object"},{"type":"object","description":"Discriminated Solana transaction intent. Use `transfer` for wallet transfers, `payment` for Spritz off-ramp quote payments, `yield.deposit` for Kamino USDC vault deposits, and `yield.withdraw` for Kamino USDC vault withdrawals.","required":["kind","protocol","from","vault","withdrawAll","mint"],"properties":{"kind":{"description":"Intent kind for withdrawing from a Kamino vault.","type":"string","enum":["yield.withdraw"],"isRequired":true,"uniqueKey":"intent.oneOf.3.kind","typeLabel":"enum\u003cstring>"},"protocol":{"description":"Yield protocol that will construct the withdraw instructions. Only Kamino is supported for Solana yield transactions today.","type":"string","enum":["kamino"],"isRequired":true,"uniqueKey":"intent.oneOf.3.protocol","typeLabel":"enum\u003cstring>"},"from":{"minLength":32,"maxLength":44,"pattern":"^[1-9A-HJ-NP-Za-km-z]+$","description":"Solana public key (base58).","type":"string","example":"8sLbNZoA1cfnvMJLPfp98ZLAnFSYCFApfJKMbiXNLwxj","isRequired":true,"uniqueKey":"intent.oneOf.3.from","typeLabel":"string"},"vault":{"minLength":32,"maxLength":44,"pattern":"^[1-9A-HJ-NP-Za-km-z]+$","description":"Solana public key (base58).","type":"string","example":"8sLbNZoA1cfnvMJLPfp98ZLAnFSYCFApfJKMbiXNLwxj","isRequired":true,"uniqueKey":"intent.oneOf.3.vault","typeLabel":"string"},"withdrawAll":{"description":"Withdraw the user's full available position from this vault. Partial withdraws are not exposed by Wallet Kit yet.","type":"boolean","enum":[true],"isRequired":true,"uniqueKey":"intent.oneOf.3.withdrawAll","typeLabel":"enum\u003cboolean>"},"mint":{"minLength":32,"maxLength":44,"pattern":"^[1-9A-HJ-NP-Za-km-z]+$","description":"Solana USDC mint address supported by the selected Kamino vault.","type":"string","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","isRequired":true,"uniqueKey":"intent.oneOf.3.mint","typeLabel":"string"}},"isRequired":true,"uniqueKey":"intent.oneOf.3","typeLabel":"object"}],"isRequired":true,"uniqueKey":"intent","typeLabel":"object"},"feeMode":{"type":"string","enum":["auto","sponsored_only","user_paid_only"],"uniqueKey":"feeMode","typeLabel":"enum\u003cstring>"}},"required":["clientIntentId","intentVersion","intent"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"clientIntentId":"\u003cstring>","intentVersion":1,"intent":{"kind":"transfer","from":"8sLbNZoA1cfnvMJLPfp98ZLAnFSYCFApfJKMbiXNLwxj","to":"FqVnHphYBfJTb46iWbwS8oRaAWGnLPVhWqvY1pgZ7yC8","amount":"1000000","mint":null}}}},"exampleType":"generated"},"application/x-www-form-urlencoded":{"schema":{"description":"Request body for preparing a Solana transaction. The authenticated user id is derived from the bearer token; clients do not send `userId` to Wallet Kit. The server builds and stores an unsigned Solana v0 message, then returns the exact bytes the embedded wallet must sign.","type":"object","properties":{"clientIntentId":{"minLength":1,"description":"Caller-supplied idempotency key for this prepare call. Repeating the same `clientIntentId` with an identical intent returns the existing prepared transaction while it is active. Reusing the same key with different intent details returns a conflict error.","type":"string","isRequired":true,"uniqueKey":"clientIntentId","typeLabel":"string"},"intentVersion":{"description":"Version of the intent schema. Production prepare currently expects exactly `1`.","type":"number","example":1,"enum":[1],"isRequired":true,"uniqueKey":"intentVersion","typeLabel":"enum\u003cnumber>"},"intent":{"oneOf":[{"type":"object","description":"Discriminated Solana transaction intent. Use `transfer` for wallet transfers, `payment` for Spritz off-ramp quote payments, `yield.deposit` for Kamino USDC vault deposits, and `yield.withdraw` for Kamino USDC vault withdrawals.","required":["kind","from","to","amount","mint"],"properties":{"kind":{"description":"Intent kind for a native SOL or SPL token transfer.","type":"string","enum":["transfer"],"isRequired":true,"uniqueKey":"intent.oneOf.0.kind","typeLabel":"enum\u003cstring>"},"from":{"minLength":32,"maxLength":44,"pattern":"^[1-9A-HJ-NP-Za-km-z]+$","description":"Solana public key (base58).","type":"string","example":"8sLbNZoA1cfnvMJLPfp98ZLAnFSYCFApfJKMbiXNLwxj","isRequired":true,"uniqueKey":"intent.oneOf.0.from","typeLabel":"string"},"to":{"minLength":32,"maxLength":44,"pattern":"^[1-9A-HJ-NP-Za-km-z]+$","description":"Recipient Solana public key (base58).","type":"string","example":"FqVnHphYBfJTb46iWbwS8oRaAWGnLPVhWqvY1pgZ7yC8","isRequired":true,"uniqueKey":"intent.oneOf.0.to","typeLabel":"string"},"amount":{"minLength":1,"pattern":"^[1-9][0-9]*$","description":"Positive integer amount in base units, formatted as a string. For native SOL this is lamports. For SPL tokens this is the mint's base unit, for example USDC uses 6 decimals.","type":"string","example":"1000000","isRequired":true,"uniqueKey":"intent.oneOf.0.amount","typeLabel":"string"},"mint":{"oneOf":[{"minLength":32,"maxLength":44,"pattern":"^[1-9A-HJ-NP-Za-km-z]+$","description":"SPL mint address for token transfers, or null for native SOL transfers.","type":"string","example":null,"isRequired":true,"uniqueKey":"intent.oneOf.0.mint.oneOf.0","typeLabel":"string"},{"minLength":32,"maxLength":44,"pattern":"^[1-9A-HJ-NP-Za-km-z]+$","description":"SPL mint address for token transfers, or null for native SOL transfers.","type":"null","example":null,"isRequired":true,"uniqueKey":"intent.oneOf.0.mint.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"intent.oneOf.0.mint","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"intent.oneOf.0","typeLabel":"object"},{"type":"object","description":"Discriminated Solana transaction intent. Use `transfer` for wallet transfers, `payment` for Spritz off-ramp quote payments, `yield.deposit` for Kamino USDC vault deposits, and `yield.withdraw` for Kamino USDC vault withdrawals.","required":["kind","from","offRampQuoteId"],"properties":{"kind":{"description":"Intent kind for a Spritz off-ramp quote payment.","type":"string","enum":["payment"],"isRequired":true,"uniqueKey":"intent.oneOf.1.kind","typeLabel":"enum\u003cstring>"},"from":{"minLength":32,"maxLength":44,"pattern":"^[1-9A-HJ-NP-Za-km-z]+$","description":"Solana public key (base58).","type":"string","example":"8sLbNZoA1cfnvMJLPfp98ZLAnFSYCFApfJKMbiXNLwxj","isRequired":true,"uniqueKey":"intent.oneOf.1.from","typeLabel":"string"},"offRampQuoteId":{"minLength":1,"description":"Existing off-ramp quote id. The transaction builder resolves amount due, destination, memo/reference, and token route from this quote.","type":"string","example":"offramp_xyz789","isRequired":true,"uniqueKey":"intent.oneOf.1.offRampQuoteId","typeLabel":"string"}},"isRequired":true,"uniqueKey":"intent.oneOf.1","typeLabel":"object"},{"type":"object","description":"Discriminated Solana transaction intent. Use `transfer` for wallet transfers, `payment` for Spritz off-ramp quote payments, `yield.deposit` for Kamino USDC vault deposits, and `yield.withdraw` for Kamino USDC vault withdrawals.","required":["kind","protocol","from","vault","amount","mint"],"properties":{"kind":{"description":"Intent kind for depositing USDC into a Kamino vault.","type":"string","enum":["yield.deposit"],"isRequired":true,"uniqueKey":"intent.oneOf.2.kind","typeLabel":"enum\u003cstring>"},"protocol":{"description":"Yield protocol that will construct the deposit instructions. Only Kamino is supported for Solana yield transactions today.","type":"string","enum":["kamino"],"isRequired":true,"uniqueKey":"intent.oneOf.2.protocol","typeLabel":"enum\u003cstring>"},"from":{"minLength":32,"maxLength":44,"pattern":"^[1-9A-HJ-NP-Za-km-z]+$","description":"Solana public key (base58).","type":"string","example":"8sLbNZoA1cfnvMJLPfp98ZLAnFSYCFApfJKMbiXNLwxj","isRequired":true,"uniqueKey":"intent.oneOf.2.from","typeLabel":"string"},"vault":{"minLength":32,"maxLength":44,"pattern":"^[1-9A-HJ-NP-Za-km-z]+$","description":"Solana public key (base58).","type":"string","example":"8sLbNZoA1cfnvMJLPfp98ZLAnFSYCFApfJKMbiXNLwxj","isRequired":true,"uniqueKey":"intent.oneOf.2.vault","typeLabel":"string"},"amount":{"minLength":1,"pattern":"^[1-9][0-9]*$","description":"Positive integer amount in base units, formatted as a string. For native SOL this is lamports. For SPL tokens this is the mint's base unit, for example USDC uses 6 decimals.","type":"string","example":"1000000","isRequired":true,"uniqueKey":"intent.oneOf.2.amount","typeLabel":"string"},"mint":{"minLength":32,"maxLength":44,"pattern":"^[1-9A-HJ-NP-Za-km-z]+$","description":"Solana USDC mint address supported by the selected Kamino vault.","type":"string","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","isRequired":true,"uniqueKey":"intent.oneOf.2.mint","typeLabel":"string"}},"isRequired":true,"uniqueKey":"intent.oneOf.2","typeLabel":"object"},{"type":"object","description":"Discriminated Solana transaction intent. Use `transfer` for wallet transfers, `payment` for Spritz off-ramp quote payments, `yield.deposit` for Kamino USDC vault deposits, and `yield.withdraw` for Kamino USDC vault withdrawals.","required":["kind","protocol","from","vault","withdrawAll","mint"],"properties":{"kind":{"description":"Intent kind for withdrawing from a Kamino vault.","type":"string","enum":["yield.withdraw"],"isRequired":true,"uniqueKey":"intent.oneOf.3.kind","typeLabel":"enum\u003cstring>"},"protocol":{"description":"Yield protocol that will construct the withdraw instructions. Only Kamino is supported for Solana yield transactions today.","type":"string","enum":["kamino"],"isRequired":true,"uniqueKey":"intent.oneOf.3.protocol","typeLabel":"enum\u003cstring>"},"from":{"minLength":32,"maxLength":44,"pattern":"^[1-9A-HJ-NP-Za-km-z]+$","description":"Solana public key (base58).","type":"string","example":"8sLbNZoA1cfnvMJLPfp98ZLAnFSYCFApfJKMbiXNLwxj","isRequired":true,"uniqueKey":"intent.oneOf.3.from","typeLabel":"string"},"vault":{"minLength":32,"maxLength":44,"pattern":"^[1-9A-HJ-NP-Za-km-z]+$","description":"Solana public key (base58).","type":"string","example":"8sLbNZoA1cfnvMJLPfp98ZLAnFSYCFApfJKMbiXNLwxj","isRequired":true,"uniqueKey":"intent.oneOf.3.vault","typeLabel":"string"},"withdrawAll":{"description":"Withdraw the user's full available position from this vault. Partial withdraws are not exposed by Wallet Kit yet.","type":"boolean","enum":[true],"isRequired":true,"uniqueKey":"intent.oneOf.3.withdrawAll","typeLabel":"enum\u003cboolean>"},"mint":{"minLength":32,"maxLength":44,"pattern":"^[1-9A-HJ-NP-Za-km-z]+$","description":"Solana USDC mint address supported by the selected Kamino vault.","type":"string","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","isRequired":true,"uniqueKey":"intent.oneOf.3.mint","typeLabel":"string"}},"isRequired":true,"uniqueKey":"intent.oneOf.3","typeLabel":"object"}],"isRequired":true,"uniqueKey":"intent","typeLabel":"object"},"feeMode":{"type":"string","enum":["auto","sponsored_only","user_paid_only"],"uniqueKey":"feeMode","typeLabel":"enum\u003cstring>"}},"required":["clientIntentId","intentVersion","intent"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"clientIntentId":"\u003cstring>","intentVersion":1,"intent":{"kind":"transfer","from":"8sLbNZoA1cfnvMJLPfp98ZLAnFSYCFApfJKMbiXNLwxj","to":"FqVnHphYBfJTb46iWbwS8oRaAWGnLPVhWqvY1pgZ7yC8","amount":"1000000","mint":null}}}},"exampleType":"generated"},"multipart/form-data":{"schema":{"description":"Request body for preparing a Solana transaction. The authenticated user id is derived from the bearer token; clients do not send `userId` to Wallet Kit. The server builds and stores an unsigned Solana v0 message, then returns the exact bytes the embedded wallet must sign.","type":"object","properties":{"clientIntentId":{"minLength":1,"description":"Caller-supplied idempotency key for this prepare call. Repeating the same `clientIntentId` with an identical intent returns the existing prepared transaction while it is active. Reusing the same key with different intent details returns a conflict error.","type":"string","isRequired":true,"uniqueKey":"clientIntentId","typeLabel":"string"},"intentVersion":{"description":"Version of the intent schema. Production prepare currently expects exactly `1`.","type":"number","example":1,"enum":[1],"isRequired":true,"uniqueKey":"intentVersion","typeLabel":"enum\u003cnumber>"},"intent":{"oneOf":[{"type":"object","description":"Discriminated Solana transaction intent. Use `transfer` for wallet transfers, `payment` for Spritz off-ramp quote payments, `yield.deposit` for Kamino USDC vault deposits, and `yield.withdraw` for Kamino USDC vault withdrawals.","required":["kind","from","to","amount","mint"],"properties":{"kind":{"description":"Intent kind for a native SOL or SPL token transfer.","type":"string","enum":["transfer"],"isRequired":true,"uniqueKey":"intent.oneOf.0.kind","typeLabel":"enum\u003cstring>"},"from":{"minLength":32,"maxLength":44,"pattern":"^[1-9A-HJ-NP-Za-km-z]+$","description":"Solana public key (base58).","type":"string","example":"8sLbNZoA1cfnvMJLPfp98ZLAnFSYCFApfJKMbiXNLwxj","isRequired":true,"uniqueKey":"intent.oneOf.0.from","typeLabel":"string"},"to":{"minLength":32,"maxLength":44,"pattern":"^[1-9A-HJ-NP-Za-km-z]+$","description":"Recipient Solana public key (base58).","type":"string","example":"FqVnHphYBfJTb46iWbwS8oRaAWGnLPVhWqvY1pgZ7yC8","isRequired":true,"uniqueKey":"intent.oneOf.0.to","typeLabel":"string"},"amount":{"minLength":1,"pattern":"^[1-9][0-9]*$","description":"Positive integer amount in base units, formatted as a string. For native SOL this is lamports. For SPL tokens this is the mint's base unit, for example USDC uses 6 decimals.","type":"string","example":"1000000","isRequired":true,"uniqueKey":"intent.oneOf.0.amount","typeLabel":"string"},"mint":{"oneOf":[{"minLength":32,"maxLength":44,"pattern":"^[1-9A-HJ-NP-Za-km-z]+$","description":"SPL mint address for token transfers, or null for native SOL transfers.","type":"string","example":null,"isRequired":true,"uniqueKey":"intent.oneOf.0.mint.oneOf.0","typeLabel":"string"},{"minLength":32,"maxLength":44,"pattern":"^[1-9A-HJ-NP-Za-km-z]+$","description":"SPL mint address for token transfers, or null for native SOL transfers.","type":"null","example":null,"isRequired":true,"uniqueKey":"intent.oneOf.0.mint.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"intent.oneOf.0.mint","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"intent.oneOf.0","typeLabel":"object"},{"type":"object","description":"Discriminated Solana transaction intent. Use `transfer` for wallet transfers, `payment` for Spritz off-ramp quote payments, `yield.deposit` for Kamino USDC vault deposits, and `yield.withdraw` for Kamino USDC vault withdrawals.","required":["kind","from","offRampQuoteId"],"properties":{"kind":{"description":"Intent kind for a Spritz off-ramp quote payment.","type":"string","enum":["payment"],"isRequired":true,"uniqueKey":"intent.oneOf.1.kind","typeLabel":"enum\u003cstring>"},"from":{"minLength":32,"maxLength":44,"pattern":"^[1-9A-HJ-NP-Za-km-z]+$","description":"Solana public key (base58).","type":"string","example":"8sLbNZoA1cfnvMJLPfp98ZLAnFSYCFApfJKMbiXNLwxj","isRequired":true,"uniqueKey":"intent.oneOf.1.from","typeLabel":"string"},"offRampQuoteId":{"minLength":1,"description":"Existing off-ramp quote id. The transaction builder resolves amount due, destination, memo/reference, and token route from this quote.","type":"string","example":"offramp_xyz789","isRequired":true,"uniqueKey":"intent.oneOf.1.offRampQuoteId","typeLabel":"string"}},"isRequired":true,"uniqueKey":"intent.oneOf.1","typeLabel":"object"},{"type":"object","description":"Discriminated Solana transaction intent. Use `transfer` for wallet transfers, `payment` for Spritz off-ramp quote payments, `yield.deposit` for Kamino USDC vault deposits, and `yield.withdraw` for Kamino USDC vault withdrawals.","required":["kind","protocol","from","vault","amount","mint"],"properties":{"kind":{"description":"Intent kind for depositing USDC into a Kamino vault.","type":"string","enum":["yield.deposit"],"isRequired":true,"uniqueKey":"intent.oneOf.2.kind","typeLabel":"enum\u003cstring>"},"protocol":{"description":"Yield protocol that will construct the deposit instructions. Only Kamino is supported for Solana yield transactions today.","type":"string","enum":["kamino"],"isRequired":true,"uniqueKey":"intent.oneOf.2.protocol","typeLabel":"enum\u003cstring>"},"from":{"minLength":32,"maxLength":44,"pattern":"^[1-9A-HJ-NP-Za-km-z]+$","description":"Solana public key (base58).","type":"string","example":"8sLbNZoA1cfnvMJLPfp98ZLAnFSYCFApfJKMbiXNLwxj","isRequired":true,"uniqueKey":"intent.oneOf.2.from","typeLabel":"string"},"vault":{"minLength":32,"maxLength":44,"pattern":"^[1-9A-HJ-NP-Za-km-z]+$","description":"Solana public key (base58).","type":"string","example":"8sLbNZoA1cfnvMJLPfp98ZLAnFSYCFApfJKMbiXNLwxj","isRequired":true,"uniqueKey":"intent.oneOf.2.vault","typeLabel":"string"},"amount":{"minLength":1,"pattern":"^[1-9][0-9]*$","description":"Positive integer amount in base units, formatted as a string. For native SOL this is lamports. For SPL tokens this is the mint's base unit, for example USDC uses 6 decimals.","type":"string","example":"1000000","isRequired":true,"uniqueKey":"intent.oneOf.2.amount","typeLabel":"string"},"mint":{"minLength":32,"maxLength":44,"pattern":"^[1-9A-HJ-NP-Za-km-z]+$","description":"Solana USDC mint address supported by the selected Kamino vault.","type":"string","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","isRequired":true,"uniqueKey":"intent.oneOf.2.mint","typeLabel":"string"}},"isRequired":true,"uniqueKey":"intent.oneOf.2","typeLabel":"object"},{"type":"object","description":"Discriminated Solana transaction intent. Use `transfer` for wallet transfers, `payment` for Spritz off-ramp quote payments, `yield.deposit` for Kamino USDC vault deposits, and `yield.withdraw` for Kamino USDC vault withdrawals.","required":["kind","protocol","from","vault","withdrawAll","mint"],"properties":{"kind":{"description":"Intent kind for withdrawing from a Kamino vault.","type":"string","enum":["yield.withdraw"],"isRequired":true,"uniqueKey":"intent.oneOf.3.kind","typeLabel":"enum\u003cstring>"},"protocol":{"description":"Yield protocol that will construct the withdraw instructions. Only Kamino is supported for Solana yield transactions today.","type":"string","enum":["kamino"],"isRequired":true,"uniqueKey":"intent.oneOf.3.protocol","typeLabel":"enum\u003cstring>"},"from":{"minLength":32,"maxLength":44,"pattern":"^[1-9A-HJ-NP-Za-km-z]+$","description":"Solana public key (base58).","type":"string","example":"8sLbNZoA1cfnvMJLPfp98ZLAnFSYCFApfJKMbiXNLwxj","isRequired":true,"uniqueKey":"intent.oneOf.3.from","typeLabel":"string"},"vault":{"minLength":32,"maxLength":44,"pattern":"^[1-9A-HJ-NP-Za-km-z]+$","description":"Solana public key (base58).","type":"string","example":"8sLbNZoA1cfnvMJLPfp98ZLAnFSYCFApfJKMbiXNLwxj","isRequired":true,"uniqueKey":"intent.oneOf.3.vault","typeLabel":"string"},"withdrawAll":{"description":"Withdraw the user's full available position from this vault. Partial withdraws are not exposed by Wallet Kit yet.","type":"boolean","enum":[true],"isRequired":true,"uniqueKey":"intent.oneOf.3.withdrawAll","typeLabel":"enum\u003cboolean>"},"mint":{"minLength":32,"maxLength":44,"pattern":"^[1-9A-HJ-NP-Za-km-z]+$","description":"Solana USDC mint address supported by the selected Kamino vault.","type":"string","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","isRequired":true,"uniqueKey":"intent.oneOf.3.mint","typeLabel":"string"}},"isRequired":true,"uniqueKey":"intent.oneOf.3","typeLabel":"object"}],"isRequired":true,"uniqueKey":"intent","typeLabel":"object"},"feeMode":{"type":"string","enum":["auto","sponsored_only","user_paid_only"],"uniqueKey":"feeMode","typeLabel":"enum\u003cstring>"}},"required":["clientIntentId","intentVersion","intent"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"clientIntentId":"\u003cstring>","intentVersion":1,"intent":{"kind":"transfer","from":"8sLbNZoA1cfnvMJLPfp98ZLAnFSYCFApfJKMbiXNLwxj","to":"FqVnHphYBfJTb46iWbwS8oRaAWGnLPVhWqvY1pgZ7yC8","amount":"1000000","mint":null}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"11eeee8c-b695-40e6-9966-7303f17a637f":{"description":"Prepare response for the embedded-wallet signing flow. Decode `messageBytes`, sign those exact bytes with `userSigner`, then submit only the detached base64 signature. Do not submit a serialized transaction or rebuild the message client-side.","content":{"application/json":{"schema":{"description":"Prepare response for the embedded-wallet signing flow. Decode `messageBytes`, sign those exact bytes with `userSigner`, then submit only the detached base64 signature. Do not submit a serialized transaction or rebuild the message client-side.","type":"object","properties":{"txId":{"description":"Server-issued transaction id. Pass this back to the submit endpoint along with the user signature.","type":"string","isRequired":true,"uniqueKey":"txId","typeLabel":"string"},"messageBytes":{"description":"Base64-encoded Solana v0 message bytes. The embedded wallet must sign exactly these bytes after base64 decoding — do not mutate, rebuild, or wrap.","type":"string","isRequired":true,"uniqueKey":"messageBytes","typeLabel":"string"},"messageFormat":{"description":"Format of `messageBytes`. `solana_message_v0` means the bytes are a Solana v0 message, not a serialized transaction.","type":"string","enum":["solana_message_v0"],"isRequired":true,"uniqueKey":"messageFormat","typeLabel":"enum\u003cstring>"},"userSigner":{"description":"Solana public key that must produce `userSignature` over the decoded `messageBytes`.","type":"string","example":"8sLbNZoA1cfnvMJLPfp98ZLAnFSYCFApfJKMbiXNLwxj","isRequired":true,"uniqueKey":"userSigner","typeLabel":"string"},"requiredSigners":{"description":"All signer public keys required by the prepared message. The embedded wallet is responsible for the `userSigner`; Spritz may add the fee-payer signature during submit.","type":"array","items":{"type":"string","uniqueKey":"requiredSigners.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"requiredSigners","typeLabel":"string[]"},"feePayer":{"description":"Solana public key paying the network fee for the prepared transaction.","type":"string","isRequired":true,"uniqueKey":"feePayer","typeLabel":"string"},"sponsored":{"description":"Whether Spritz is expected to pay the Solana network fee for this prepared transaction.","type":"boolean","isRequired":true,"uniqueKey":"sponsored","typeLabel":"boolean"},"estimatedFeeLamports":{"minimum":0,"description":"Estimated Solana network fee in lamports for the prepared message.","type":"integer","example":5000,"isRequired":true,"uniqueKey":"estimatedFeeLamports","typeLabel":"integer"},"addressLookupTableAddresses":{"description":"Address lookup table accounts used by the v0 message. Empty when the message does not use lookup tables.","type":"array","items":{"type":"string","uniqueKey":"addressLookupTableAddresses.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"addressLookupTableAddresses","typeLabel":"string[]"},"blockhash":{"description":"Recent blockhash embedded in the prepared message. This blockhash is what makes the prepared message expire.","type":"string","isRequired":true,"uniqueKey":"blockhash","typeLabel":"string"},"lastValidBlockHeight":{"minimum":0,"description":"Last Solana block height at which the prepared message can still be submitted.","type":"integer","isRequired":true,"uniqueKey":"lastValidBlockHeight","typeLabel":"integer"},"expiresAt":{"format":"date-time","description":"ISO 8601 timestamp at which this prepared transaction expires. Solana blockhashes expire quickly; if submit fails with `TX_EXPIRED`, call prepare again and sign the new `messageBytes`.","type":"string","isRequired":true,"uniqueKey":"expiresAt","typeLabel":"string\u003cdate-time>"},"summary":{"description":"Product summary of the prepared transaction. Shape varies by intent. Transfer summaries identify sender, recipient, mint, and amount. Payment summaries identify the off-ramp quote, destination, amount, mint, and required token input. Kamino yield summaries identify protocol, vault, mint, and the deposit amount or withdraw-all request.","type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"summary.additionalProperties","typeLabel":"any"},"isRequired":true,"uniqueKey":"summary","typeLabel":"object"}},"required":["txId","messageBytes","messageFormat","userSigner","requiredSigners","feePayer","sponsored","estimatedFeeLamports","addressLookupTableAddresses","blockhash","lastValidBlockHeight","expiresAt","summary"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"txId":"\u003cstring>","messageBytes":"\u003cstring>","messageFormat":"solana_message_v0","userSigner":"8sLbNZoA1cfnvMJLPfp98ZLAnFSYCFApfJKMbiXNLwxj","requiredSigners":["\u003cstring>"],"feePayer":"\u003cstring>","sponsored":true,"estimatedFeeLamports":5000,"addressLookupTableAddresses":["\u003cstring>"],"blockhash":"\u003cstring>","lastValidBlockHeight":1,"expiresAt":"2023-11-07T05:31:56Z","summary":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"f507ec5e-001c-4339-ba44-42c4b3351682":{"description":"Response for status 401","content":{"application/problem+json":{"schema":{"type":"object","properties":{"title":{"description":"A short, human-readable summary of the problem type","type":"string","example":"Unauthorized","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"description":"The HTTP status code","type":"number","example":401,"isRequired":true,"uniqueKey":"status","typeLabel":"number"},"type":{"default":"about:blank","description":"A URI reference that identifies the problem type","type":"string","example":"urn:problem-type:auth:unauthorized","uniqueKey":"type","typeLabel":"string"},"detail":{"description":"A human-readable explanation specific to this occurrence","type":"string","example":"Bearer token required","uniqueKey":"detail","typeLabel":"string"},"instance":{"description":"A URI reference that identifies the specific occurrence","type":"string","uniqueKey":"instance","typeLabel":"string"},"realm":{"description":"The authentication realm","type":"string","example":"API","uniqueKey":"realm","typeLabel":"string"},"scope":{"description":"The required scope for this resource","type":"string","example":"read:users","uniqueKey":"scope","typeLabel":"string"}},"required":["title","status"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"title":"Unauthorized","status":401,"type":"urn:problem-type:auth:unauthorized","detail":"Bearer token required","instance":"\u003cstring>","realm":"API","scope":"read:users"}}},"exampleType":"generated"}},"exampleType":"generated"},"d1c10557-2d78-4f7d-aea8-62898de965b8":{"description":"Response for status 409","content":{"application/problem+json":{"schema":{"additionalProperties":true,"type":"object","properties":{"title":{"description":"A short, human-readable summary of the problem type","type":"string","example":"Unauthorized","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"description":"The HTTP status code","type":"number","example":400,"isRequired":true,"uniqueKey":"status","typeLabel":"number"},"type":{"default":"about:blank","description":"A URI reference that identifies the problem type","type":"string","example":"urn:problem-type:auth:unauthorized","uniqueKey":"type","typeLabel":"string"},"detail":{"description":"A human-readable explanation specific to this occurrence","type":"string","uniqueKey":"detail","typeLabel":"string"},"instance":{"description":"A URI reference that identifies the specific occurrence","type":"string","example":"/errors/1234567890","uniqueKey":"instance","typeLabel":"string"},"code":{"description":"Machine-readable cause, present when exactly one thing failed. Branch on this, never on `detail`, which is human-facing copy and may change. For deposit limits the vocabulary matches the `reason` values the limits API returns pre-flight.","type":"string","example":"transaction_limit","uniqueKey":"code","typeLabel":"string"},"field":{"description":"The offending request field, present alongside `code`.","type":"string","example":"amountUsd","uniqueKey":"field","typeLabel":"string"},"retryable":{"description":"Whether retrying the same request later may succeed without changing its inputs.","type":"boolean","example":true,"uniqueKey":"retryable","typeLabel":"boolean"},"retryAfter":{"description":"Seconds to wait before retrying, present alongside `retryable: true`. Mirrors the `Retry-After` response header and is meant for short backoffs the server chose (load shedding); for a condition that clears on its own schedule, `clearsAt` carries the absolute time instead.","type":"number","example":5,"uniqueKey":"retryAfter","typeLabel":"number"},"suggestedAction":{"type":"string","enum":["auto_ramp","wait_for_settlement"],"uniqueKey":"suggestedAction","typeLabel":"enum\u003cstring>"},"clearsAt":{"oneOf":[{"format":"date-time","type":"string","description":"Earliest known time the current temporary condition may clear.","uniqueKey":"clearsAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"format":"date-time","type":"null","description":"Earliest known time the current temporary condition may clear.","uniqueKey":"clearsAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"clearsAt","typeLabel":"string\u003cdate-time> | null"},"availableAt":{"oneOf":[{"format":"date-time","type":"string","description":"When a temporarily ineligible funding source may become available again.","uniqueKey":"availableAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"format":"date-time","type":"null","description":"When a temporarily ineligible funding source may become available again.","uniqueKey":"availableAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"availableAt","typeLabel":"string\u003cdate-time> | null"},"permanent":{"description":"Whether the current funding-source restriction will not clear automatically.","type":"boolean","uniqueKey":"permanent","typeLabel":"boolean"}},"required":["title","status"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"title":"Unauthorized","status":400,"type":"urn:problem-type:auth:unauthorized","detail":"\u003cstring>","instance":"/errors/1234567890","code":"transaction_limit","field":"amountUsd","retryable":true,"retryAfter":5,"suggestedAction":"auto_ramp","clearsAt":"2023-11-07T05:31:56Z","availableAt":"2023-11-07T05:31:56Z","permanent":true}}},"exampleType":"generated"}},"exampleType":"generated"},"df7f0dd3-7640-41e6-bbab-f151dacd4735":{"description":"Response for status 422","content":{"application/problem+json":{"schema":{"additionalProperties":true,"type":"object","properties":{"title":{"description":"A short, human-readable summary of the problem type","type":"string","example":"Unauthorized","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"description":"The HTTP status code","type":"number","example":400,"isRequired":true,"uniqueKey":"status","typeLabel":"number"},"type":{"default":"about:blank","description":"A URI reference that identifies the problem type","type":"string","example":"urn:problem-type:auth:unauthorized","uniqueKey":"type","typeLabel":"string"},"detail":{"description":"A human-readable explanation specific to this occurrence","type":"string","uniqueKey":"detail","typeLabel":"string"},"instance":{"description":"A URI reference that identifies the specific occurrence","type":"string","example":"/errors/1234567890","uniqueKey":"instance","typeLabel":"string"},"code":{"description":"Machine-readable cause, present when exactly one thing failed. Branch on this, never on `detail`, which is human-facing copy and may change. For deposit limits the vocabulary matches the `reason` values the limits API returns pre-flight.","type":"string","example":"transaction_limit","uniqueKey":"code","typeLabel":"string"},"field":{"description":"The offending request field, present alongside `code`.","type":"string","example":"amountUsd","uniqueKey":"field","typeLabel":"string"},"retryable":{"description":"Whether retrying the same request later may succeed without changing its inputs.","type":"boolean","example":true,"uniqueKey":"retryable","typeLabel":"boolean"},"retryAfter":{"description":"Seconds to wait before retrying, present alongside `retryable: true`. Mirrors the `Retry-After` response header and is meant for short backoffs the server chose (load shedding); for a condition that clears on its own schedule, `clearsAt` carries the absolute time instead.","type":"number","example":5,"uniqueKey":"retryAfter","typeLabel":"number"},"suggestedAction":{"type":"string","enum":["auto_ramp","wait_for_settlement"],"uniqueKey":"suggestedAction","typeLabel":"enum\u003cstring>"},"clearsAt":{"oneOf":[{"format":"date-time","type":"string","description":"Earliest known time the current temporary condition may clear.","uniqueKey":"clearsAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"format":"date-time","type":"null","description":"Earliest known time the current temporary condition may clear.","uniqueKey":"clearsAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"clearsAt","typeLabel":"string\u003cdate-time> | null"},"availableAt":{"oneOf":[{"format":"date-time","type":"string","description":"When a temporarily ineligible funding source may become available again.","uniqueKey":"availableAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"format":"date-time","type":"null","description":"When a temporarily ineligible funding source may become available again.","uniqueKey":"availableAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"availableAt","typeLabel":"string\u003cdate-time> | null"},"permanent":{"description":"Whether the current funding-source restriction will not clear automatically.","type":"boolean","uniqueKey":"permanent","typeLabel":"boolean"}},"required":["title","status"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"title":"Unauthorized","status":400,"type":"urn:problem-type:auth:unauthorized","detail":"\u003cstring>","instance":"/errors/1234567890","code":"transaction_limit","field":"amountUsd","retryable":true,"retryAfter":5,"suggestedAction":"auto_ramp","clearsAt":"2023-11-07T05:31:56Z","availableAt":"2023-11-07T05:31:56Z","permanent":true}}},"exampleType":"generated"}},"exampleType":"generated"},"fbe665bd-8c15-49ce-977d-60bd618cfa69":{"description":"Response for status 500","content":{"application/problem+json":{"schema":{"additionalProperties":true,"type":"object","properties":{"title":{"description":"A short, human-readable summary of the problem type","type":"string","example":"Unauthorized","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"description":"The HTTP status code","type":"number","example":400,"isRequired":true,"uniqueKey":"status","typeLabel":"number"},"type":{"default":"about:blank","description":"A URI reference that identifies the problem type","type":"string","example":"urn:problem-type:auth:unauthorized","uniqueKey":"type","typeLabel":"string"},"detail":{"description":"A human-readable explanation specific to this occurrence","type":"string","uniqueKey":"detail","typeLabel":"string"},"instance":{"description":"A URI reference that identifies the specific occurrence","type":"string","example":"/errors/1234567890","uniqueKey":"instance","typeLabel":"string"},"code":{"description":"Machine-readable cause, present when exactly one thing failed. Branch on this, never on `detail`, which is human-facing copy and may change. For deposit limits the vocabulary matches the `reason` values the limits API returns pre-flight.","type":"string","example":"transaction_limit","uniqueKey":"code","typeLabel":"string"},"field":{"description":"The offending request field, present alongside `code`.","type":"string","example":"amountUsd","uniqueKey":"field","typeLabel":"string"},"retryable":{"description":"Whether retrying the same request later may succeed without changing its inputs.","type":"boolean","example":true,"uniqueKey":"retryable","typeLabel":"boolean"},"retryAfter":{"description":"Seconds to wait before retrying, present alongside `retryable: true`. Mirrors the `Retry-After` response header and is meant for short backoffs the server chose (load shedding); for a condition that clears on its own schedule, `clearsAt` carries the absolute time instead.","type":"number","example":5,"uniqueKey":"retryAfter","typeLabel":"number"},"suggestedAction":{"type":"string","enum":["auto_ramp","wait_for_settlement"],"uniqueKey":"suggestedAction","typeLabel":"enum\u003cstring>"},"clearsAt":{"oneOf":[{"format":"date-time","type":"string","description":"Earliest known time the current temporary condition may clear.","uniqueKey":"clearsAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"format":"date-time","type":"null","description":"Earliest known time the current temporary condition may clear.","uniqueKey":"clearsAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"clearsAt","typeLabel":"string\u003cdate-time> | null"},"availableAt":{"oneOf":[{"format":"date-time","type":"string","description":"When a temporarily ineligible funding source may become available again.","uniqueKey":"availableAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"format":"date-time","type":"null","description":"When a temporarily ineligible funding source may become available again.","uniqueKey":"availableAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"availableAt","typeLabel":"string\u003cdate-time> | null"},"permanent":{"description":"Whether the current funding-source restriction will not clear automatically.","type":"boolean","uniqueKey":"permanent","typeLabel":"boolean"}},"required":["title","status"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"title":"Unauthorized","status":400,"type":"urn:problem-type:auth:unauthorized","detail":"\u003cstring>","instance":"/errors/1234567890","code":"transaction_limit","field":"amountUsd","retryable":true,"retryAfter":5,"suggestedAction":"auto_ramp","clearsAt":"2023-11-07T05:31:56Z","availableAt":"2023-11-07T05:31:56Z","permanent":true}}},"exampleType":"generated"}},"exampleType":"generated"},"15ccabd8-533d-426f-852c-25c501f0a11f":{"description":"Response for status 502","content":{"application/problem+json":{"schema":{"additionalProperties":true,"type":"object","properties":{"title":{"description":"A short, human-readable summary of the problem type","type":"string","example":"Unauthorized","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"description":"The HTTP status code","type":"number","example":400,"isRequired":true,"uniqueKey":"status","typeLabel":"number"},"type":{"default":"about:blank","description":"A URI reference that identifies the problem type","type":"string","example":"urn:problem-type:auth:unauthorized","uniqueKey":"type","typeLabel":"string"},"detail":{"description":"A human-readable explanation specific to this occurrence","type":"string","uniqueKey":"detail","typeLabel":"string"},"instance":{"description":"A URI reference that identifies the specific occurrence","type":"string","example":"/errors/1234567890","uniqueKey":"instance","typeLabel":"string"},"code":{"description":"Machine-readable cause, present when exactly one thing failed. Branch on this, never on `detail`, which is human-facing copy and may change. For deposit limits the vocabulary matches the `reason` values the limits API returns pre-flight.","type":"string","example":"transaction_limit","uniqueKey":"code","typeLabel":"string"},"field":{"description":"The offending request field, present alongside `code`.","type":"string","example":"amountUsd","uniqueKey":"field","typeLabel":"string"},"retryable":{"description":"Whether retrying the same request later may succeed without changing its inputs.","type":"boolean","example":true,"uniqueKey":"retryable","typeLabel":"boolean"},"retryAfter":{"description":"Seconds to wait before retrying, present alongside `retryable: true`. Mirrors the `Retry-After` response header and is meant for short backoffs the server chose (load shedding); for a condition that clears on its own schedule, `clearsAt` carries the absolute time instead.","type":"number","example":5,"uniqueKey":"retryAfter","typeLabel":"number"},"suggestedAction":{"type":"string","enum":["auto_ramp","wait_for_settlement"],"uniqueKey":"suggestedAction","typeLabel":"enum\u003cstring>"},"clearsAt":{"oneOf":[{"format":"date-time","type":"string","description":"Earliest known time the current temporary condition may clear.","uniqueKey":"clearsAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"format":"date-time","type":"null","description":"Earliest known time the current temporary condition may clear.","uniqueKey":"clearsAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"clearsAt","typeLabel":"string\u003cdate-time> | null"},"availableAt":{"oneOf":[{"format":"date-time","type":"string","description":"When a temporarily ineligible funding source may become available again.","uniqueKey":"availableAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"format":"date-time","type":"null","description":"When a temporarily ineligible funding source may become available again.","uniqueKey":"availableAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"availableAt","typeLabel":"string\u003cdate-time> | null"},"permanent":{"description":"Whether the current funding-source restriction will not clear automatically.","type":"boolean","uniqueKey":"permanent","typeLabel":"boolean"}},"required":["title","status"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"title":"Unauthorized","status":400,"type":"urn:problem-type:auth:unauthorized","detail":"\u003cstring>","instance":"/errors/1234567890","code":"transaction_limit","field":"amountUsd","retryable":true,"retryAfter":5,"suggestedAction":"auto_ramp","clearsAt":"2023-11-07T05:31:56Z","availableAt":"2023-11-07T05:31:56Z","permanent":true}}},"exampleType":"generated"}},"exampleType":"generated"},"20c45468-33bb-4e5a-b7b0-2dbd5edca307":{"description":"Response for status 503","content":{"application/problem+json":{"schema":{"additionalProperties":true,"type":"object","properties":{"title":{"description":"A short, human-readable summary of the problem type","type":"string","example":"Unauthorized","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"description":"The HTTP status code","type":"number","example":400,"isRequired":true,"uniqueKey":"status","typeLabel":"number"},"type":{"default":"about:blank","description":"A URI reference that identifies the problem type","type":"string","example":"urn:problem-type:auth:unauthorized","uniqueKey":"type","typeLabel":"string"},"detail":{"description":"A human-readable explanation specific to this occurrence","type":"string","uniqueKey":"detail","typeLabel":"string"},"instance":{"description":"A URI reference that identifies the specific occurrence","type":"string","example":"/errors/1234567890","uniqueKey":"instance","typeLabel":"string"},"code":{"description":"Machine-readable cause, present when exactly one thing failed. Branch on this, never on `detail`, which is human-facing copy and may change. For deposit limits the vocabulary matches the `reason` values the limits API returns pre-flight.","type":"string","example":"transaction_limit","uniqueKey":"code","typeLabel":"string"},"field":{"description":"The offending request field, present alongside `code`.","type":"string","example":"amountUsd","uniqueKey":"field","typeLabel":"string"},"retryable":{"description":"Whether retrying the same request later may succeed without changing its inputs.","type":"boolean","example":true,"uniqueKey":"retryable","typeLabel":"boolean"},"retryAfter":{"description":"Seconds to wait before retrying, present alongside `retryable: true`. Mirrors the `Retry-After` response header and is meant for short backoffs the server chose (load shedding); for a condition that clears on its own schedule, `clearsAt` carries the absolute time instead.","type":"number","example":5,"uniqueKey":"retryAfter","typeLabel":"number"},"suggestedAction":{"type":"string","enum":["auto_ramp","wait_for_settlement"],"uniqueKey":"suggestedAction","typeLabel":"enum\u003cstring>"},"clearsAt":{"oneOf":[{"format":"date-time","type":"string","description":"Earliest known time the current temporary condition may clear.","uniqueKey":"clearsAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"format":"date-time","type":"null","description":"Earliest known time the current temporary condition may clear.","uniqueKey":"clearsAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"clearsAt","typeLabel":"string\u003cdate-time> | null"},"availableAt":{"oneOf":[{"format":"date-time","type":"string","description":"When a temporarily ineligible funding source may become available again.","uniqueKey":"availableAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"format":"date-time","type":"null","description":"When a temporarily ineligible funding source may become available again.","uniqueKey":"availableAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"availableAt","typeLabel":"string\u003cdate-time> | null"},"permanent":{"description":"Whether the current funding-source restriction will not clear automatically.","type":"boolean","uniqueKey":"permanent","typeLabel":"boolean"}},"required":["title","status"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"title":"Unauthorized","status":400,"type":"urn:problem-type:auth:unauthorized","detail":"\u003cstring>","instance":"/errors/1234567890","code":"transaction_limit","field":"amountUsd","retryable":true,"retryAfter":5,"suggestedAction":"auto_ramp","clearsAt":"2023-11-07T05:31:56Z","availableAt":"2023-11-07T05:31:56Z","permanent":true}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"5bfa10ec-2bcb-4df8-a39b-0578399400c6":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT or ak_ user API key","description":"User bearer credential: either a Cognito JWT or an ak_ user API key. Backend integrators using HMAC must include the user API key alongside the three HMAC headers on user-scoped endpoints.","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"0b678c23-1093-4a15-9b46-c01fe544a174":{"url":"https://platform.spritz.finance","description":"Production"},"933a41d1-9273-480b-a475-9963e51720f0":{"url":"https://sandbox.spritz.finance","description":"Sandbox"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT or ak_ user API key","description":"User bearer credential: either a Cognito JWT or an ak_ user API key. Backend integrators using HMAC must include the user API key alongside the three HMAC headers on user-scoped endpoints.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"User bearer credential: either a Cognito JWT or an ak_ user API key. Backend integrators using HMAC must include the user API key alongside the three HMAC headers on user-scoped endpoints.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"https://platform.spritz.finance/openapi.json"},"subdomain":"spritz","siteName":"Spritz","title":"Prepare Solana transaction - Spritz","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-02T16:10:58.918Z","originalFileLocation":"api-reference/wallet-kit/prepare-solana-transaction.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=\"Prepares an unsigned Solana v0 message for the authenticated user\u0026#x27;s embedded wallet to sign. Supports transfer, payment, yield.deposit, and yield.withdraw intents. Kamino is the only yield protocol supported today. The response messageBytes are base64-encoded Solana message bytes, not a serialized transaction; the wallet must sign the decoded bytes exactly and submit only the detached signature.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Spritz\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/spritz/rPEYV4vnZMOH3BxC/_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/spritz/rPEYV4vnZMOH3BxC/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/spritz/rPEYV4vnZMOH3BxC/_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/spritz/rPEYV4vnZMOH3BxC/_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/spritz/rPEYV4vnZMOH3BxC/_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/spritz/rPEYV4vnZMOH3BxC/_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/spritz/rPEYV4vnZMOH3BxC/_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/spritz/rPEYV4vnZMOH3BxC/_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/spritz/rPEYV4vnZMOH3BxC/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Prepare Solana transaction - Spritz\">\u003cmeta data-mint-head property=\"og:description\" content=\"Prepares an unsigned Solana v0 message for the authenticated user\u0026#x27;s embedded wallet to sign. Supports transfer, payment, yield.deposit, and yield.withdraw intents. Kamino is the only yield protocol supported today. The response messageBytes are base64-encoded Solana message bytes, not a serialized transaction; the wallet must sign the decoded bytes exactly and submit only the detached signature.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Spritz\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.spritz.finance/api-reference/wallet-kit/prepare-solana-transaction\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://spritz.mintlify.site/_mintlify/api/og/v2?division=Wallet+Kit\u0026amp;title=Prepare+Solana+transaction\u0026amp;description=Prepares+an+unsigned+Solana+v0+message+for+the+authenticated+user%27s+embedded+wallet+to+sign.+Supports+%60transfer%60%2C+%60payment%60%2C+%60yield.deposit%60%2C+and+%60yield.withdra\u0026amp;theme=dbd2fff918d81440b96d8faf\u0026amp;signature=3673238452e8f188e9ff776f2738f6f560203bd81970501ffc39707edfe173e8\">\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 Solana transaction - Spritz\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Prepares an unsigned Solana v0 message for the authenticated user\u0026#x27;s embedded wallet to sign. Supports transfer, payment, yield.deposit, and yield.withdraw intents. Kamino is the only yield protocol supported today. The response messageBytes are base64-encoded Solana message bytes, not a serialized transaction; the wallet must sign the decoded bytes exactly and submit only the detached signature.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://spritz.mintlify.site/_mintlify/api/og/v2?division=Wallet+Kit\u0026amp;title=Prepare+Solana+transaction\u0026amp;description=Prepares+an+unsigned+Solana+v0+message+for+the+authenticated+user%27s+embedded+wallet+to+sign.+Supports+%60transfer%60%2C+%60payment%60%2C+%60yield.deposit%60%2C+and+%60yield.withdra\u0026amp;theme=dbd2fff918d81440b96d8faf\u0026amp;signature=3673238452e8f188e9ff776f2738f6f560203bd81970501ffc39707edfe173e8\">\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/spritz/rPEYV4vnZMOH3BxC/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Spritz\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#F35130\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.spritz.finance/api-reference/wallet-kit/prepare-solana-transaction\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/wallet-kit/prepare-solana-transaction.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.spritz.finance/#organization\",\"name\":\"Spritz\",\"url\":\"https://docs.spritz.finance\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/spritz/Oo-fWmzSaNcbhJum/logo/light.svg?fit=max\u0026auto=format\u0026n=Oo-fWmzSaNcbhJum\u0026q=85\u0026s=3f82e0ffd2d2c52feefac2c4033878c5\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.spritz.finance#website\",\"name\":\"Spritz\",\"url\":\"https://docs.spritz.finance\",\"publisher\":{\"@id\":\"https://docs.spritz.finance/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.spritz.finance/api-reference/wallet-kit/prepare-solana-transaction#webpage\",\"url\":\"https://docs.spritz.finance/api-reference/wallet-kit/prepare-solana-transaction\",\"name\":\"Prepare Solana transaction\",\"description\":\"Prepares an unsigned Solana v0 message for the authenticated user's embedded wallet to sign. Supports transfer, payment, yield.deposit, and yield.withdraw intents. Kamino is the only yield protocol supported today. The response messageBytes are base64-encoded Solana message bytes, not a serialized transaction; the wallet must sign the decoded bytes exactly and submit only the detached signature.\",\"dateModified\":\"2026-11-02T16:10:58.918Z\",\"isPartOf\":{\"@id\":\"https://docs.spritz.finance#website\"},\"breadcrumb\":{\"@id\":\"https://docs.spritz.finance/api-reference/wallet-kit/prepare-solana-transaction#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.spritz.finance/api-reference/wallet-kit/prepare-solana-transaction#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Wallet Kit\",\"item\":\"https://docs.spritz.finance/api-reference/wallet-kit/get-embedded-wallet-status\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Prepare Solana transaction\",\"item\":\"https://docs.spritz.finance/api-reference/wallet-kit/prepare-solana-transaction\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.spritz.finance/api-reference/wallet-kit/prepare-solana-transaction#apireference\",\"headline\":\"Prepare Solana transaction\",\"name\":\"Prepare Solana transaction\",\"description\":\"Prepares an unsigned Solana v0 message for the authenticated user's embedded wallet to sign. Supports transfer, payment, yield.deposit, and yield.withdraw intents. Kamino is the only yield protocol supported today. The response messageBytes are base64-encoded Solana message bytes, not a serialized transaction; the wallet must sign the decoded bytes exactly and submit only the detached signature.\",\"url\":\"https://docs.spritz.finance/api-reference/wallet-kit/prepare-solana-transaction\",\"mainEntityOfPage\":{\"@id\":\"https://docs.spritz.finance/api-reference/wallet-kit/prepare-solana-transaction#webpage\"},\"dateModified\":\"2026-11-02T16:10:58.918Z\",\"publisher\":{\"@id\":\"https://docs.spritz.finance/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.spritz.finance#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Spritz\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Spritz\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/wallet-kit/prepare-solana-transaction.md","siteName":"Spritz","nav":{"global":{"anchors":[{"anchor":"Help Center","icon":"life-ring","href":"https://help.spritz.finance/en/"},{"anchor":"Website","icon":"globe","href":"https://spritz.finance"}]},"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"API Reference","groups":[{"group":"Auto-Ramp Accounts","pages":[{"title":"List auto-ramp accounts","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/auto-ramp-accounts/","href":"/api-reference/auto-ramp-accounts/list-auto-ramp-accounts"},{"title":"Create an auto-ramp account","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/auto-ramp-accounts/","href":"/api-reference/auto-ramp-accounts/create-an-auto-ramp-account"},{"title":"Get an auto-ramp account","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/auto-ramp-accounts/{id}","href":"/api-reference/auto-ramp-accounts/get-an-auto-ramp-account"},{"title":"Estimate the cost of a deposit","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/auto-ramp-accounts/{id}/estimate","href":"/api-reference/auto-ramp-accounts/estimate-the-cost-of-a-deposit"}]},{"group":"Auto-Ramp Addresses","pages":[{"title":"List auto-ramp addresses","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/auto-ramp-addresses/","href":"/api-reference/auto-ramp-addresses/list-auto-ramp-addresses"}]},{"group":"Off-Ramp Quotes","pages":[{"title":"Create an off-ramp quote","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/off-ramp-quotes/","href":"/api-reference/off-ramp-quotes/create-an-off-ramp-quote"},{"title":"Get an off-ramp quote","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/off-ramp-quotes/{quoteId}","href":"/api-reference/off-ramp-quotes/get-an-off-ramp-quote"},{"title":"Get transaction params for a quote","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/off-ramp-quotes/{quoteId}/transaction","href":"/api-reference/off-ramp-quotes/get-transaction-params-for-a-quote"},{"title":"Report the transaction sent for a quote","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/off-ramp-quotes/{quoteId}/submit","href":"/api-reference/off-ramp-quotes/report-the-transaction-sent-for-a-quote"}]},{"group":"Off-Ramps","pages":[{"title":"List off-ramps","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/off-ramps/","href":"/api-reference/off-ramps/list-off-ramps"},{"title":"Get an off-ramp","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/off-ramps/{offRampId}","href":"/api-reference/off-ramps/get-an-off-ramp"},{"title":"Refund an off-ramp","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/off-ramps/{offRampId}/refund","href":"/api-reference/off-ramps/refund-an-off-ramp"}]},{"group":"On-Ramps","pages":[{"title":"List on-ramps","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/on-ramps/","href":"/api-reference/on-ramps/list-on-ramps"},{"title":"List supported on-ramp pairs","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/on-ramps/supported-pairs","href":"/api-reference/on-ramps/list-supported-on-ramp-pairs"},{"title":"Get exchange rates","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/on-ramps/exchange-rates","href":"/api-reference/on-ramps/get-exchange-rates"},{"title":"Get an on-ramp","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/on-ramps/{onRampId}","href":"/api-reference/on-ramps/get-an-on-ramp"}]},{"group":"Bank Accounts","pages":[{"title":"List bank accounts","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/bank-accounts/","href":"/api-reference/bank-accounts/list-bank-accounts"},{"title":"Add a bank account","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/bank-accounts/","href":"/api-reference/bank-accounts/add-a-bank-account"},{"title":"Get a bank account","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/bank-accounts/{accountId}","href":"/api-reference/bank-accounts/get-a-bank-account"},{"title":"Remove a bank account","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json delete /v1/bank-accounts/{accountId}","href":"/api-reference/bank-accounts/remove-a-bank-account"},{"title":"Get payment limits","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/bank-accounts/{accountId}/payment-limits","href":"/api-reference/bank-accounts/get-payment-limits"},{"title":"Create a bank account link token","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/bank-accounts/link-token","href":"/api-reference/bank-accounts/create-a-bank-account-link-token"},{"title":"Complete bank account linking","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/bank-accounts/link-complete","href":"/api-reference/bank-accounts/complete-bank-account-linking"}]},{"group":"Funding Sources","pages":[{"title":"List funding sources","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/funding-sources/","href":"/api-reference/funding-sources/list-funding-sources"},{"title":"Get deposit limits for a funding source","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/funding-sources/{fundingSourceId}/deposit-limits","href":"/api-reference/funding-sources/get-deposit-limits-for-a-funding-source"},{"title":"Get a funding source","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/funding-sources/{fundingSourceId}","href":"/api-reference/funding-sources/get-a-funding-source"},{"title":"Remove a funding source","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json delete /v1/funding-sources/{fundingSourceId}","href":"/api-reference/funding-sources/remove-a-funding-source"}]},{"group":"Deposits","pages":[{"title":"List deposits","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/deposits/","href":"/api-reference/deposits/list-deposits"},{"title":"Get a deposit","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/deposits/{depositId}","href":"/api-reference/deposits/get-a-deposit"},{"title":"Prepare a direct deposit authorization","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/deposits/direct/prepare","href":"/api-reference/deposits/prepare-a-direct-deposit-authorization"},{"title":"Create a direct deposit","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/deposits/direct","href":"/api-reference/deposits/create-a-direct-deposit"}]},{"group":"ACH Debit","pages":[{"title":"Check ACH debit eligibility","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/ach-debit/eligibility","href":"/api-reference/ach-debit/check-ach-debit-eligibility"}]},{"group":"Bills","pages":[{"title":"List bills","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/bills/","href":"/api-reference/bills/list-bills"},{"title":"List removed bills","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/bills/removed","href":"/api-reference/bills/list-removed-bills"},{"title":"Restore a removed bill","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/bills/{billId}/restore","href":"/api-reference/bills/restore-a-removed-bill"},{"title":"Remove a bill","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json delete /v1/bills/{billId}","href":"/api-reference/bills/remove-a-bill"},{"title":"Activate bills","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/bills/activate","href":"/api-reference/bills/activate-bills"},{"title":"Start bills verification","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/bills/start_verification","href":"/api-reference/bills/start-bills-verification"},{"title":"Submit bills verification challenge","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/bills/submit_verification/{activationId}","href":"/api-reference/bills/submit-bills-verification-challenge"},{"title":"Link card via token","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/bills/token","href":"/api-reference/bills/link-card-via-token"},{"title":"Start a card update","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/bills/{billId}/card-update-token","href":"/api-reference/bills/start-a-card-update"},{"title":"Complete a card update","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/bills/{billId}/card-update-complete","href":"/api-reference/bills/complete-a-card-update"},{"title":"Update a bill's account number","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/bills/{billId}/account-number","href":"/api-reference/bills/update-a-bills-account-number"}]},{"group":"Cards","pages":[{"title":"List cards","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/cards/","href":"/api-reference/cards/list-cards"},{"title":"Get card program balance","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/cards/balance","href":"/api-reference/cards/get-card-program-balance"},{"title":"Get card","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/cards/{cardId}","href":"/api-reference/cards/get-card"},{"title":"List card transactions","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/cards/{cardId}/transactions","href":"/api-reference/cards/list-card-transactions"},{"title":"Get card PIN","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/cards/{cardId}/pin","href":"/api-reference/cards/get-card-pin"},{"title":"Update card PIN","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/cards/{cardId}/update_pin","href":"/api-reference/cards/update-card-pin"},{"title":"Update card status","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/cards/{cardId}/update_status","href":"/api-reference/cards/update-card-status"},{"title":"Update card spend limit","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/cards/{cardId}/update_limit","href":"/api-reference/cards/update-card-spend-limit"}]},{"group":"Debit Cards","pages":[{"title":"List debit cards","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/debit-cards/","href":"/api-reference/debit-cards/list-debit-cards"},{"title":"Add a debit card","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/debit-cards/","href":"/api-reference/debit-cards/add-a-debit-card"},{"title":"Get a debit card","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/debit-cards/{cardId}","href":"/api-reference/debit-cards/get-a-debit-card"},{"title":"Delete a debit card","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json delete /v1/debit-cards/{cardId}","href":"/api-reference/debit-cards/delete-a-debit-card"},{"title":"Complete debit card details","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json patch /v1/debit-cards/{cardId}/cardholder-info","href":"/api-reference/debit-cards/complete-debit-card-details"}]},{"group":"Integrator","pages":[{"title":"Exchange credentials for JWT token","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/integrator/tokens","href":"/api-reference/integrator/exchange-credentials-for-jwt-token"},{"title":"Get integrator profile","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/integrator/","href":"/api-reference/integrator/get-integrator-profile"},{"title":"Create a user","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/integrator/users","href":"/api-reference/integrator/create-a-user"},{"title":"List ACH debit returns","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/integrator/ach-debit/returns","href":"/api-reference/integrator/list-ach-debit-returns"},{"title":"Get an ACH debit return","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/integrator/ach-debit/returns/{returnId}","href":"/api-reference/integrator/get-an-ach-debit-return"},{"title":"Get webhooks","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/integrator/webhooks","href":"/api-reference/integrator/get-webhooks"},{"title":"Create webhook","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/integrator/webhooks","href":"/api-reference/integrator/create-webhook"},{"title":"Get webhook deliveries","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/integrator/webhooks/deliveries","href":"/api-reference/integrator/get-webhook-deliveries"},{"title":"Redeliver a webhook delivery","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/integrator/webhooks/deliveries/{deliveryId}/redeliver","href":"/api-reference/integrator/redeliver-a-webhook-delivery"},{"title":"Delete webhook","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json delete /v1/integrator/webhooks/{webhookId}","href":"/api-reference/integrator/delete-webhook"},{"title":"Update webhook","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json patch /v1/integrator/webhooks/{webhookId}","href":"/api-reference/integrator/update-webhook"},{"title":"Update webhook secret","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/integrator/webhook-secret","href":"/api-reference/integrator/update-webhook-secret"},{"title":"Regenerate API secret","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/integrator/regenerate-secret","href":"/api-reference/integrator/regenerate-api-secret"}]},{"group":"Users","pages":[{"title":"Get the current authenticated user","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/users/me","href":"/api-reference/users/get-the-current-authenticated-user"},{"title":"Update the current authenticated user","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/users/me","href":"/api-reference/users/update-the-current-authenticated-user"},{"title":"Start an email update","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/users/me/email-update-sessions/","href":"/api-reference/users/start-an-email-update"},{"title":"Confirm an email update","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/users/me/email-update-sessions/{sessionId}/confirm","href":"/api-reference/users/confirm-an-email-update"},{"title":"Create, resume, or retry an identity verification session","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/users/me/verification-sessions/","href":"/api-reference/users/create-resume-or-retry-an-identity-verification-session"}]},{"group":"Compliance","pages":[{"title":"Get regional compliance requirements","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/users/me/compliance/requirements","href":"/api-reference/compliance/get-regional-compliance-requirements"},{"title":"Submit regional compliance fields","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/users/me/compliance","href":"/api-reference/compliance/submit-regional-compliance-fields"}]},{"group":"Terms","pages":[{"title":"Accept terms of service","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/users/me/terms","href":"/api-reference/terms/accept-terms-of-service"}]},{"group":"API Keys","pages":[{"title":"List API keys","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/api-keys/","href":"/api-reference/api-keys/list-api-keys"},{"title":"Create an API key","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/api-keys/","href":"/api-reference/api-keys/create-an-api-key"},{"title":"Revoke an API key","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json delete /v1/api-keys/{keyId}","href":"/api-reference/api-keys/revoke-an-api-key"}]},{"group":"Device Authorization","pages":[{"title":"Initiate device authorization","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/device/authorize","href":"/api-reference/device-authorization/initiate-device-authorization"},{"title":"Poll for device authorization token","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/device/token","href":"/api-reference/device-authorization/poll-for-device-authorization-token"},{"title":"Get device authorization request info","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/device/info","href":"/api-reference/device-authorization/get-device-authorization-request-info"},{"title":"Approve device authorization","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/device/approve","href":"/api-reference/device-authorization/approve-device-authorization"}]},{"group":"Wallet Kit","pages":[{"title":"Get embedded wallet status","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/wallet-kit/","href":"/api-reference/wallet-kit/get-embedded-wallet-status"},{"title":"Provision embedded wallet","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/wallet-kit/","href":"/api-reference/wallet-kit/provision-embedded-wallet"},{"title":"List wallet accounts","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/wallet-kit/accounts","href":"/api-reference/wallet-kit/list-wallet-accounts"},{"title":"List wallet token balances","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/wallet-kit/balances","href":"/api-reference/wallet-kit/list-wallet-token-balances"},{"title":"Get wallet portfolio snapshots","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/wallet-kit/portfolio/snapshots","href":"/api-reference/wallet-kit/get-wallet-portfolio-snapshots"},{"title":"List Solana wallet transfers","description":"Returns a paginated list of Solana transfers involving the supplied address (sent or received). Results are cached briefly per address + page and invalidated when the web3 service emits `wallet-balance.invalidated`.","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/wallet-kit/solana/transfers","href":"/api-reference/wallet-kit/list-solana-wallet-transfers"},{"title":"Prepare Solana transaction","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/wallet-kit/solana/transactions/prepare","href":"/api-reference/wallet-kit/prepare-solana-transaction"},{"title":"Submit Solana transaction","description":"Submits the user's detached signature for a previously prepared Solana transaction. The server verifies the signature against the stored message, adds any Spritz-owned signatures such as the fee payer, serializes the transaction, and broadcasts it. If submit returns `TX_EXPIRED`, call prepare again and sign the new `messageBytes`. Retrying after a successful broadcast returns the existing transaction signature.","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/wallet-kit/solana/transactions/submit","href":"/api-reference/wallet-kit/submit-solana-transaction"},{"title":"Submit Solana transaction by id","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/wallet-kit/solana/transactions/{txId}/submit","href":"/api-reference/wallet-kit/submit-solana-transaction-by-id"},{"title":"List wallet auth methods","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/wallet-kit/auth-methods/","href":"/api-reference/wallet-kit/list-wallet-auth-methods"},{"title":"Commit add auth method","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/wallet-kit/auth-methods/","href":"/api-reference/wallet-kit/commit-add-auth-method"},{"title":"Prepare add auth method","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/wallet-kit/auth-methods/intents","href":"/api-reference/wallet-kit/prepare-add-auth-method"},{"title":"Prepare email OTP start","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/wallet-kit/auth-methods/email/start/intents","href":"/api-reference/wallet-kit/prepare-email-otp-start"},{"title":"Commit email OTP start","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/wallet-kit/auth-methods/email/start","href":"/api-reference/wallet-kit/commit-email-otp-start"},{"title":"Prepare remove auth method","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/wallet-kit/auth-methods/{id}/intents","href":"/api-reference/wallet-kit/prepare-remove-auth-method"},{"title":"Commit remove auth method","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json delete /v1/wallet-kit/auth-methods/{id}","href":"/api-reference/wallet-kit/commit-remove-auth-method"},{"title":"List Kamino yield vaults","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/wallet-kit/yield/solana/kamino/vaults","href":"/api-reference/wallet-kit/list-kamino-yield-vaults"},{"title":"Get Kamino yield vault","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/wallet-kit/yield/solana/kamino/vaults/{vaultId}","href":"/api-reference/wallet-kit/get-kamino-yield-vault"},{"title":"List Kamino yield vault history","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/wallet-kit/yield/solana/kamino/vaults/{vaultId}/history","href":"/api-reference/wallet-kit/list-kamino-yield-vault-history"},{"title":"List Kamino yield positions","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/wallet-kit/yield/solana/kamino/positions","href":"/api-reference/wallet-kit/list-kamino-yield-positions"},{"title":"Get Kamino yield position","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/wallet-kit/yield/solana/kamino/positions/{vaultId}","href":"/api-reference/wallet-kit/get-kamino-yield-position"},{"title":"List Kamino yield position history","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/wallet-kit/yield/solana/kamino/positions/{vaultId}/history","href":"/api-reference/wallet-kit/list-kamino-yield-position-history"},{"title":"Get Kamino yield position PnL","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/wallet-kit/yield/solana/kamino/positions/{vaultId}/pnl","href":"/api-reference/wallet-kit/get-kamino-yield-position-pnl"},{"title":"List Kamino yield transactions","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/wallet-kit/yield/solana/kamino/transactions","href":"/api-reference/wallet-kit/list-kamino-yield-transactions"}]},{"group":"Sandbox","pages":[{"title":"Bypass KYC (sandbox only)","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/sandbox/bypass-kyc","href":"/api-reference/sandbox/bypass-kyc-sandbox-only"},{"title":"Prepare a sandbox deposit under a program-control state","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/sandbox/deposits/direct/prepare","href":"/api-reference/sandbox/prepare-a-sandbox-deposit-under-a-program-control-state"},{"title":"Create a sandbox direct deposit with a simulated outcome","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/sandbox/deposits/direct","href":"/api-reference/sandbox/create-a-sandbox-direct-deposit-with-a-simulated-outcome"},{"title":"Read ACH debit sandbox exposure","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json get /v1/sandbox/ach-debit/exposure","href":"/api-reference/sandbox/read-ach-debit-sandbox-exposure"},{"title":"Set ACH debit sandbox exposure caps","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/sandbox/ach-debit/exposure/cap","href":"/api-reference/sandbox/set-ach-debit-sandbox-exposure-caps"},{"title":"Link a deterministic sandbox bank account","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/sandbox/bank-accounts/link","href":"/api-reference/sandbox/link-a-deterministic-sandbox-bank-account"},{"title":"Activate bills with a sandbox simulation","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/sandbox/bills/activate","href":"/api-reference/sandbox/activate-bills-with-a-sandbox-simulation"},{"title":"Start sandbox bills verification","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/sandbox/bills/start_verification","href":"/api-reference/sandbox/start-sandbox-bills-verification"},{"title":"Submit sandbox bills verification challenge","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/sandbox/bills/submit_verification/{activationId}","href":"/api-reference/sandbox/submit-sandbox-bills-verification-challenge"},{"title":"Remove a funding source (sandbox only)","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json delete /v1/sandbox/funding-sources/{fundingSourceId}","href":"/api-reference/sandbox/remove-a-funding-source-sandbox-only"},{"title":"Simulate a deposit into an auto-ramp account (sandbox only)","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/sandbox/auto-ramp-accounts/{id}/deposit","href":"/api-reference/sandbox/simulate-a-deposit-into-an-auto-ramp-account-sandbox-only"},{"title":"Reset sandbox bills activation","deprecated":null,"version":null,"openapi":"https://platform.spritz.finance/openapi.json post /v1/sandbox/bills/reset","href":"/api-reference/sandbox/reset-sandbox-bills-activation"}]}]}]},"basePath":"","title":"Prepare Solana transaction - Spritz","buildId":"dpl_GRSyrvXT6FFTpZZTGz5iZPp3D2zE","deploymentId":"dpl_GRSyrvXT6FFTpZZTGz5iZPp3D2zE","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BFmjTMeT.js","utils-BWr-sjpP.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-LafIDf0N.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-MJNzuxek.js","snippetPresets-DPZEtUvW.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-DQ2UhGIs.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-DUUJTUkE.js","shallow-BTf5bw35.js","getApiPlaygroundDisplay-h2POYYOO.js","CodeSnippet-C4qEftRe.js","CodeSnippets-CsSrOqMC.js","Page-CWFqNdGh.js","getPastedJson-DU6W6y78.js","icon-2ZYNQ78y.js","MethodPill-BMXJzYMm.js","DuplicateIcon-DNjdEpYZ.js","createIcon-WdPVhKxl.js","DynamicMarkdown-Z_y464fM.js","SectionHeading-Bcrd8azU.js","axios-vUo_bRtp.js","Markdown-BnvucbFu.js","dist-D7YyC486.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","katex-YMM-FMeD.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js","AssistantPageLink-D1I8TPjt.js"]}