type Blockchain = 'solana' | 'polygon' | 'ethereum' | 'base';type VenueStatus = 'active' | 'paused' | 'deprecated';type StrategyStatus = 'active' | 'paused';type TransactionStatus = 'UNSIGNED' | 'PENDING' | 'CONFIRMED' | 'FAILED';type OperationType = 'SUPPLY' | 'UNWIND';/** CANCELLED and EXPIRED are their own statuses. This is a server change: from the API release that introduced the * signing deadline, every SDK version reads them (they used to read 'FAILED'); SDK 1.4.5 adds the EXPIRED enum value. * Either becomes 'CONFIRMED' if the operation's planned transaction lands on chain anyway. */type OperationStatus = | 'PENDING' | 'AWAITING_SIGNATURE' | 'SUBMITTED' | 'CONFIRMED' | 'FAILED' | 'CANCELLED' | 'EXPIRED';
A polling loop that stops on CONFIRMED or FAILED must also stop on CANCELLED and EXPIRED, whatever SDK version
you use: the server returns them to every version, and such a loop would otherwise never end.
Wallet Identifier Types
Several endpoints accept multiple ways to identify a wallet:
/** Identify by address or ID */type WalletIdentifier = { walletAddress: string } | { walletId: number };/** Identify by address, ID, or user ID */type WalletOrUserIdentifier = | { walletAddress: string } | { walletId: number } | { userId: string };
Use whichever identifier is most convenient for your integration. All identifiers resolve to the same underlying wallet and return identical data.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"RebelFi","colors":{"primary":"#7C3AED","light":"#A78BFA","dark":"#6D28D9"},"logo":{"light":"https://mintcdn.com/rebelfi/fXK4ucG1VXHFNCHU/logo/light.svg?fit=max\u0026auto=format\u0026n=fXK4ucG1VXHFNCHU\u0026q=85\u0026s=c08933ddcdd739151ffab9deff2de3df","dark":"https://mintcdn.com/rebelfi/fXK4ucG1VXHFNCHU/logo/dark.svg?fit=max\u0026auto=format\u0026n=fXK4ucG1VXHFNCHU\u0026q=85\u0026s=761ed04c26ba61eb684940722357b28d"},"favicon":"https://mintcdn.com/rebelfi/fXK4ucG1VXHFNCHU/favicon.svg?fit=max\u0026auto=format\u0026n=fXK4ucG1VXHFNCHU\u0026q=85\u0026s=131faba26ef6dc9365be2cabb6769265","api":{},"background":{"decoration":"grid"},"navbar":{"links":[{"href":"https://midas.rebelfi.io","label":"Dashboard"}]},"footer":{"socials":{"x":"https://x.com/rebelfi_io","github":"https://github.com/rebelfi/sdk"}},"fonts":{"family":"Inter"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"rebelfi","hasAudioNarration":false,"actualSubdomain":"rebelfi","customDomains":["docs.rebelfi.io"],"gitSource":{"type":"github","owner":"rebelfi","repo":"midas","deployBranch":"develop","contentDirectory":"public-docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6b088b66a3b65f058beb6d4f","clientVersion":"0.0.4342","searchFilterCounts":[{"language":"default","tag":"API Reference","count":48},{"language":"default","tag":"SDK","count":21},{"language":"default","tag":"Guides","count":18},{"language":"default","tag":"Ramping","count":12},{"language":"default","tag":"Getting Started","count":11},{"language":"default","tag":"TypeScript Reference","count":11},{"language":"default","tag":"Overview","count":6},{"language":"default","tag":"Wallets","count":6},{"language":"default","tag":"Allocations","count":5},{"language":"default","tag":"Client Accounts","count":4}]},"assistantConfig":{"enableStarterQuestions":false},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"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":"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":"site-roles","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":"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":"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":"turbopuffer-dual-write","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":"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":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":":root{--body-font-size: 0.9rem;--code-font-size: 0.82rem}.prose,.mint-prose,article{font-size:0.9rem;line-height:1.6}.prose h1,.prose h2,.prose h3,.prose h4,.mint-prose h1,.mint-prose h2,.mint-prose h3,.mint-prose h4,article h1,article h2,article h3,article h4{margin-top:1.25em;margin-bottom:0.4em}.prose p,.mint-prose p,article p{margin-top:0.4em;margin-bottom:0.4em}.prose ul,.prose ol,.mint-prose ul,.mint-prose ol,article ul,article ol{margin-top:0.3em;margin-bottom:0.3em}.prose li,.mint-prose li,article li{margin-top:0.1em;margin-bottom:0.1em}pre,code{font-size:0.82rem;line-height:1.5}pre{padding:0.65rem 0.85rem;margin-top:0.5em;margin-bottom:0.5em}[class*=\"Card\"],[class*=\"card\"]{padding:0.75rem}[class*=\"Step\"],[class*=\"step\"]{margin-bottom:0.5rem}details,[class*=\"Accordion\"],[class*=\"accordion\"]{margin-top:0.4em;margin-bottom:0.4em}table th,table td{padding:0.35rem 0.6rem;font-size:0.85rem}[class*=\"Tab\"],[role=\"tabpanel\"]{padding-top:0.5rem}[class*=\"Callout\"],[class*=\"callout\"],[class*=\"Info\"],[class*=\"Note\"],[class*=\"Warning\"]{padding:0.6rem 0.8rem;margin-top:0.5em;margin-bottom:0.5em;font-size:0.85rem}"}]}
{"page":{"pagePath":"sdk/reference/types","slug":"/sdk/reference/types","pageMetadata":{"title":"Shared Types","description":"Common types used across the SDK","href":"/sdk/reference/types"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Common types used across the SDK\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`common-types`,children:`Common Types`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`21`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`21`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`type`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` Blockchain`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'solana'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'polygon'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'ethereum'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'base'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`type`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` VenueStatus`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'active'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'paused'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'deprecated'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`type`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` StrategyStatus`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'active'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'paused'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`type`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` TransactionStatus`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'UNSIGNED'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'PENDING'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'CONFIRMED'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'FAILED'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`type`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` OperationType`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'SUPPLY'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'UNWIND'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`/** CANCELLED and EXPIRED are their own statuses. This is a server change: from the API release that introduced the`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` * signing deadline, every SDK version reads them (they used to read 'FAILED'); SDK 1.4.5 adds the EXPIRED enum value.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` * Either becomes 'CONFIRMED' if the operation's planned transaction lands on chain anyway. */`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`type`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` OperationStatus`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'PENDING'`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'AWAITING_SIGNATURE'`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'SUBMITTED'`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'CONFIRMED'`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'FAILED'`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'CANCELLED'`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'EXPIRED'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`]})})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`A polling loop that stops on `,_jsx(_components.code,{children:`CONFIRMED`}),` or `,_jsx(_components.code,{children:`FAILED`}),` must also stop on `,_jsx(_components.code,{children:`CANCELLED`}),` and `,_jsx(_components.code,{children:`EXPIRED`}),`, whatever SDK version\nyou use: the server returns them to every version, and such a loop would otherwise never end.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`wallet-identifier-types`,children:`Wallet Identifier Types`}),`\n`,_jsx(_components.p,{children:`Several endpoints accept multiple ways to identify a wallet:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`/** Identify by address or ID */`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`type`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` WalletIdentifier`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`walletAddress`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`|`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`walletId`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` number`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` };`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`/** Identify by address, ID, or user ID */`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`type`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` WalletOrUserIdentifier`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`walletAddress`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`walletId`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` number`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`userId`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` };`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Use whichever identifier is most convenient for your integration. All identifiers resolve to the same underlying wallet and return identical data.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Shared Types","description":"Common types used across the SDK","href":"/sdk/reference/types"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Common Types","slug":"common-types","depth":2,"children":[]},{"title":"Wallet Identifier Types","slug":"wallet-identifier-types","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"rebelfi","siteName":"RebelFi","title":"Shared Types - RebelFi","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-26T19:41:30.789Z","originalFileLocation":"sdk/reference/types.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=\"Common types used across the SDK\">\u003cmeta data-mint-head name=\"application-name\" content=\"RebelFi\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/rebelfi/_TNEoMroeh6owkWK/_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=\"/docs/mintlify-assets/_mintlify/favicons/rebelfi/_TNEoMroeh6owkWK/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/rebelfi/_TNEoMroeh6owkWK/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/rebelfi/_TNEoMroeh6owkWK/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/rebelfi/_TNEoMroeh6owkWK/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/rebelfi/_TNEoMroeh6owkWK/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/rebelfi/_TNEoMroeh6owkWK/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/rebelfi/_TNEoMroeh6owkWK/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/rebelfi/_TNEoMroeh6owkWK/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Shared Types - RebelFi\">\u003cmeta data-mint-head property=\"og:description\" content=\"Common types used across the SDK\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"RebelFi\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.rebelfi.io/docs/sdk/reference/types\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://rebelfi.mintlify.site/docs/_mintlify/api/og/v2?division=TypeScript+Reference\u0026amp;title=Shared+Types\u0026amp;description=Common+types+used+across+the+SDK\u0026amp;theme=ca47dff9ecfc28aabb093df7\u0026amp;signature=9180cf0ec81bc5d73f66fc8c7715632fbf471c121fc69ed5cfd97c8befcafd39\">\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=\"Shared Types - RebelFi\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Common types used across the SDK\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://rebelfi.mintlify.site/docs/_mintlify/api/og/v2?division=TypeScript+Reference\u0026amp;title=Shared+Types\u0026amp;description=Common+types+used+across+the+SDK\u0026amp;theme=ca47dff9ecfc28aabb093df7\u0026amp;signature=9180cf0ec81bc5d73f66fc8c7715632fbf471c121fc69ed5cfd97c8befcafd39\">\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=\"/docs/mintlify-assets/_mintlify/favicons/rebelfi/_TNEoMroeh6owkWK/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"RebelFi\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#7C3AED\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.rebelfi.io/docs/sdk/reference/types\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/sdk/reference/types.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.rebelfi.io/#organization\",\"name\":\"RebelFi\",\"url\":\"https://docs.rebelfi.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/rebelfi/fXK4ucG1VXHFNCHU/logo/light.svg?fit=max\u0026auto=format\u0026n=fXK4ucG1VXHFNCHU\u0026q=85\u0026s=c08933ddcdd739151ffab9deff2de3df\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.rebelfi.io/docs#website\",\"name\":\"RebelFi\",\"url\":\"https://docs.rebelfi.io/docs\",\"publisher\":{\"@id\":\"https://docs.rebelfi.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.rebelfi.io/docs/sdk/reference/types#webpage\",\"url\":\"https://docs.rebelfi.io/docs/sdk/reference/types\",\"name\":\"Shared Types\",\"description\":\"Common types used across the SDK\",\"dateModified\":\"2026-11-26T19:41:30.789Z\",\"isPartOf\":{\"@id\":\"https://docs.rebelfi.io/docs#website\"},\"breadcrumb\":{\"@id\":\"https://docs.rebelfi.io/docs/sdk/reference/types#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.rebelfi.io/docs/sdk/reference/types#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"TypeScript Reference\",\"item\":\"https://docs.rebelfi.io/docs/sdk/reference/client\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Shared Types\",\"item\":\"https://docs.rebelfi.io/docs/sdk/reference/types\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.rebelfi.io/docs/sdk/reference/types#article\",\"headline\":\"Shared Types\",\"name\":\"Shared Types\",\"description\":\"Common types used across the SDK\",\"url\":\"https://docs.rebelfi.io/docs/sdk/reference/types\",\"mainEntityOfPage\":{\"@id\":\"https://docs.rebelfi.io/docs/sdk/reference/types#webpage\"},\"dateModified\":\"2026-11-26T19:41:30.789Z\",\"publisher\":{\"@id\":\"https://docs.rebelfi.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.rebelfi.io/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"RebelFi\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"RebelFi\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/sdk/reference/types.md","siteName":"RebelFi","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/guides/welcome"}]},{"tab":"SDK","groups":[{"group":"Getting Started","pages":[{"title":"Introduction","href":"/sdk/introduction"},{"title":"Quickstart","href":"/sdk/quickstart"}]},{"group":"Guides","pages":[{"title":"Integration Tutorial","href":"/sdk/integration-tutorial"},{"title":"EVM Integration","icon":"ethereum","href":"/sdk/evm-integration"},{"title":"Integration Walkthrough","href":"/sdk/walkthrough"},{"title":"Error Handling","href":"/sdk/error-handling"}]},{"group":"TypeScript Reference","pages":[{"title":"Client","href":"/sdk/reference/client"},{"title":"Wallets","href":"/sdk/reference/wallets"},{"title":"Accounts","href":"/sdk/reference/accounts"},{"title":"Venues","href":"/sdk/reference/venues"},{"title":"Allocations","href":"/sdk/reference/allocations"},{"title":"Wallet Profiles","href":"/sdk/reference/wallet-profiles"},{"title":"Operations","href":"/sdk/reference/operations"},{"title":"Transactions","href":"/sdk/reference/transactions"},{"title":"Ramp","href":"/sdk/reference/ramp"},{"title":"Errors","description":"RebelfiError class and ErrorCode enum","href":"/sdk/reference/errors"},{"title":"Shared Types","href":"/sdk/reference/types"}]},{"group":"Custody Providers","pages":[{"title":"Crossmint","description":"Integrate RebelFi with Crossmint embedded wallets","icon":"wallet","href":"/sdk/custody-providers/crossmint"},{"title":"Dfns","icon":"key","href":"/sdk/custody-providers/dfns"},{"title":"Fireblocks","icon":"vault","href":"/sdk/custody-providers/fireblocks"},{"title":"Privy","icon":"shield-halved","href":"/sdk/custody-providers/privy"}]}]},{"tab":"Ramping","pages":[{"title":"Ramping","href":"/ramping/introduction"}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]}]},"basePath":"","title":"Shared Types - RebelFi","deploymentId":"dpl_HkhFaM7Z4J8aYo89NEttjgSHLi43","buildId":"dpl_HkhFaM7Z4J8aYo89NEttjgSHLi43","dynamics":[],"chunks":[]}