Note: the optional keys (tx, s, r, bn, ra, f) are omitted from the payload when they do not apply — they are not sent as null. Only u, e, a, am, and t are always present.
Field
Type
Description
'u'
string
Account address
'e'
string
Transfer event type: deposit, subaccount_transfer, withdrawal_pending, withdrawal_confirmed
'a'
string
Asset symbol
'am'
string
Transfer amount
't'
number
Timestamp in milliseconds
'tx'
string (optional)
Transaction ID (omitted if not applicable)
's'
string (optional)
Source address (omitted if not applicable)
'r'
string (optional)
Receiver address (omitted if not applicable)
'bn'
integer (optional)
Batch nonce for withdrawals (omitted if not applicable)
'ra'
string (optional)
Requested amount before fees (omitted if not applicable)
'f'
string (optional)
Fee amount (omitted if not applicable)
Code Example (Python)
import asyncioimport jsonimport websocketsasync def subscribe_account_transfers(account: str): uri = "wss://<exchange-ws-url>" async with websockets.connect(uri) as ws: await ws.send(json.dumps({ "method": "subscribe", "params": { "source": "account_transfers", "account": account, }, })) async for message in ws: data = json.loads(message) print(data)asyncio.run(subscribe_account_transfers("42trU9A5..."))
⌘I
{"docsConfig":{"theme":"luma","$schema":"https://mintlify.com/docs.json","name":"Pacifica","colors":{"primary":"#0EA5E9","light":"#38BDF8","dark":"#0369A1"},"logo":{"light":"https://mintcdn.com/pacifica-fi-docs-migrate-92/g3zlaiQhnLQgGHk6/logo/light.svg?fit=max\u0026auto=format\u0026n=g3zlaiQhnLQgGHk6\u0026q=85\u0026s=90adf738a8b2852101abdc8fff82d09b","dark":"https://mintcdn.com/pacifica-fi-docs-migrate-92/g3zlaiQhnLQgGHk6/logo/dark.svg?fit=max\u0026auto=format\u0026n=g3zlaiQhnLQgGHk6\u0026q=85\u0026s=344a6753fc16b97535fc70218fa53dc2","href":"/"},"favicon":"https://mintcdn.com/pacifica-fi-docs-migrate-92/g3zlaiQhnLQgGHk6/favicon.png?fit=max\u0026auto=format\u0026n=g3zlaiQhnLQgGHk6\u0026q=85\u0026s=9024abb6f1d267b6932b148286c08ee4","appearance":{"default":"dark"},"background":{"decoration":"gradient","color":{"light":"#FFFFFF","dark":"#060E1A"}},"navbar":{"links":[{"href":"https://github.com/pacifica-fi/mintlify-docs","type":"github"}]},"footer":{"socials":{"github":"https://github.com/pacifica-fi/mintlify-docs"}},"fonts":{"family":"Inter"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"pacifica-fi-docs-migrate-92","hasAudioNarration":false,"actualSubdomain":"pacifica-fi-docs-migrate-92","customDomains":["docs.pacifica.fi"],"gitSource":{"type":"github","owner":"pacifica-fi","repo":"mintlify-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6aed4df8adc8722d75ec4903","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"default","tag":"API Reference","count":140},{"language":"default","tag":"API Documentation","count":140},{"language":"default","tag":"REST API","count":100},{"language":"default","tag":"Documentation","count":56},{"language":"default","tag":"Trading on Pacifica","count":42},{"language":"default","tag":"Websocket","count":23},{"language":"default","tag":"Account","count":20},{"language":"default","tag":"Trading\nSpecifications","count":20},{"language":"default","tag":"Subscriptions","count":17},{"language":"default","tag":"Order Types","count":15}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","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":"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":[{"filePath":"styles.css","content":"#content-area h1{font-size:2.25rem!important;line-height:1.25!important;font-weight:700!important;letter-spacing:-0.9px!important}#content-area h2{font-size:1.875rem!important;line-height:1.2!important;font-weight:600!important;letter-spacing:-0.375px!important}#content-area h3{font-size:1.5rem!important;line-height:1.33!important;font-weight:600!important;letter-spacing:-0.3px!important}#content-area h4{font-size:1.25rem!important;line-height:1.4!important;font-weight:600!important}.sidebar-title,.eyebrow{text-transform:uppercase!important;letter-spacing:0.3px!important}#navbar{height:4rem!important;display:flex!important;align-items:center!important}#navbar>div:last-child{flex:1 1 auto!important;min-width:0!important}a:has(>img.nav-logo){display:inline-flex!important;align-items:center!important;gap:12px!important}#navbar img.nav-logo,a:has(>img.nav-logo) img.nav-logo{height:32px!important;width:32px!important}a:has(>img.nav-logo)::after{content:\"Pacifica\";font-family:Inter, \"Inter Fallback\", system-ui, sans-serif;font-size:18px;font-weight:600;letter-spacing:-0.45px;line-height:1;color:#0B1220;-webkit-font-smoothing:antialiased}.dark a:has(>img.nav-logo)::after{color:#FFFFFF}div:has(>#search-bar-entry){width:16rem!important;flex:0 0 auto!important}#search-bar-entry{width:100%!important;justify-content:space-between!important;padding-left:0.875rem!important;padding-right:0.75rem!important}#search-bar-entry .truncate{display:block!important}#search-bar-entry>span{display:flex!important}#navbar a[href*=\"github.com\"] span{display:none!important}@media (min-width: 1024px){#content-side-layout{display:flex!important}}#sidebar-content{top:4rem!important;padding-top:2.5rem!important}#content-side-layout{top:4rem!important;padding-top:3.5rem!important}#content-area{padding-top:3.5rem!important}#sidebar-content button[aria-expanded] span{white-space:pre-line}.order-type-card [data-component-part=\"card-icon\"],.order-type-card [data-component-part=\"card-icon\"]>svg{width:2.5rem;height:2.5rem}"}],"page":{"pagePath":"api-documentation/api/websocket/subscriptions/account-transfers","slug":"/api-documentation/api/websocket/subscriptions/account-transfers","pageMetadata":{"title":"Account Transfers","description":"Streams deposit, withdrawal, and transfer events for an account.","href":"/api-documentation/api/websocket/subscriptions/account-transfers"},"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: \"Streams deposit, withdrawal, and transfer events for an account.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Refer to `,_jsx(_components.a,{href:`/api-documentation/api/websocket`,children:`Websocket`}),` for establishing the websocket connection.`]}),`\n`,_jsx(Heading,{level:`2`,id:`account-transfers`,children:`Account Transfers`}),`\n`,_jsx(Heading,{level:`3`,id:`params`,children:`Params`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"method\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"subscribe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"params\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"source\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"account_transfers\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"account\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"42trU9A5...\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`stream`,children:`Stream`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`14`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`14`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"channel\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"account_transfers\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"u\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"42trU9A5...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"e\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"deposit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"a\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USDC\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"am\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1000.000000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"t\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1716200000000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tx\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"5xGk...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"bn\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`42`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"ra\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1000.000000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"f\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.500000\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Note: the optional keys (`,_jsx(_components.code,{children:`tx`}),`, `,_jsx(_components.code,{children:`s`}),`, `,_jsx(_components.code,{children:`r`}),`, `,_jsx(_components.code,{children:`bn`}),`, `,_jsx(_components.code,{children:`ra`}),`, `,_jsx(_components.code,{children:`f`}),`) are `,_jsx(_components.strong,{children:`omitted`}),` from the payload when they do not apply — they are not sent as `,_jsx(_components.code,{children:`null`}),`. Only `,_jsx(_components.code,{children:`u`}),`, `,_jsx(_components.code,{children:`e`}),`, `,_jsx(_components.code,{children:`a`}),`, `,_jsx(_components.code,{children:`am`}),`, and `,_jsx(_components.code,{children:`t`}),` are always present.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`'u'`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Account address`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`'e'`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`Transfer event type: `,_jsx(_components.code,{children:`deposit`}),`, `,_jsx(_components.code,{children:`subaccount_transfer`}),`, `,_jsx(_components.code,{children:`withdrawal_pending`}),`, `,_jsx(_components.code,{children:`withdrawal_confirmed`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`'a'`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Asset symbol`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`'am'`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Transfer amount`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`'t'`})}),_jsx(_components.td,{children:`number`}),_jsx(_components.td,{children:`Timestamp in milliseconds`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`'tx'`})}),_jsx(_components.td,{children:`string (optional)`}),_jsx(_components.td,{children:`Transaction ID (omitted if not applicable)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`'s'`})}),_jsx(_components.td,{children:`string (optional)`}),_jsx(_components.td,{children:`Source address (omitted if not applicable)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`'r'`})}),_jsx(_components.td,{children:`string (optional)`}),_jsx(_components.td,{children:`Receiver address (omitted if not applicable)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`'bn'`})}),_jsx(_components.td,{children:`integer (optional)`}),_jsx(_components.td,{children:`Batch nonce for withdrawals (omitted if not applicable)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`'ra'`})}),_jsx(_components.td,{children:`string (optional)`}),_jsx(_components.td,{children:`Requested amount before fees (omitted if not applicable)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`'f'`})}),_jsx(_components.td,{children:`string (optional)`}),_jsx(_components.td,{children:`Fee amount (omitted if not applicable)`})]})]})]}),`\n`,_jsx(Heading,{level:`4`,id:`code-example-python`,children:`Code Example (Python)`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`19`,language:`python`,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:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`19`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` asyncio`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` json`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` websockets`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`async`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` def`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` subscribe_account_transfers`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`account`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`str`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`):`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` uri `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"wss://\u003cexchange-ws-url>\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` async`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` with`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` websockets.connect(uri) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`as`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ws:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ws.send(json.dumps({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"method\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"subscribe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"params\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"source\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"account_transfers\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"account\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: account,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_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\":`#C586C0`},children:` async`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` for`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` message `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`in`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ws:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` data `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` json.loads(message)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(data)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`asyncio.run(subscribe_account_transfers(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"42trU9A5...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`))`})]}),`\n`]})})})]})}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":"Account Transfers","description":"Streams deposit, withdrawal, and transfer events for an account.","href":"/api-documentation/api/websocket/subscriptions/account-transfers"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Account Transfers","slug":"account-transfers","depth":2,"children":[{"title":"Params","slug":"params","depth":3,"children":[]},{"title":"Stream","slug":"stream","depth":3,"children":[]},{"title":"Code Example (Python)","slug":"code-example-python","depth":4,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"subdomain":"pacifica-fi-docs-migrate-92","siteName":"Pacifica","title":"Account Transfers - Pacifica","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-06-30T01:41:36.444Z","originalFileLocation":"api-documentation/api/websocket/subscriptions/account-transfers.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=\"dark\"}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=\"Streams deposit, withdrawal, and transfer events for an account.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Pacifica\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/pacifica-fi-docs-migrate-92/_hvnb__A1AWsweS4/_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/pacifica-fi-docs-migrate-92/_hvnb__A1AWsweS4/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/pacifica-fi-docs-migrate-92/_hvnb__A1AWsweS4/_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/pacifica-fi-docs-migrate-92/_hvnb__A1AWsweS4/_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/pacifica-fi-docs-migrate-92/_hvnb__A1AWsweS4/_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/pacifica-fi-docs-migrate-92/_hvnb__A1AWsweS4/_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/pacifica-fi-docs-migrate-92/_hvnb__A1AWsweS4/_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/pacifica-fi-docs-migrate-92/_hvnb__A1AWsweS4/_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/pacifica-fi-docs-migrate-92/_hvnb__A1AWsweS4/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Account Transfers - Pacifica\">\u003cmeta data-mint-head property=\"og:description\" content=\"Streams deposit, withdrawal, and transfer events for an account.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Pacifica\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.pacifica.fi/api-documentation/api/websocket/subscriptions/account-transfers\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://pacifica-fi-docs-migrate-92.mintlify.site/_mintlify/api/og/v2?division=Subscriptions\u0026amp;title=Account+Transfers\u0026amp;description=Streams+deposit%2C+withdrawal%2C+and+transfer+events+for+an+account.\u0026amp;theme=820cbd2d0d3e52726baebba0\u0026amp;signature=53a4b0772e1df425927817c11a63db07a27cd2eb6303f6743320adfc64423b75\">\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=\"Account Transfers - Pacifica\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Streams deposit, withdrawal, and transfer events for an account.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://pacifica-fi-docs-migrate-92.mintlify.site/_mintlify/api/og/v2?division=Subscriptions\u0026amp;title=Account+Transfers\u0026amp;description=Streams+deposit%2C+withdrawal%2C+and+transfer+events+for+an+account.\u0026amp;theme=820cbd2d0d3e52726baebba0\u0026amp;signature=53a4b0772e1df425927817c11a63db07a27cd2eb6303f6743320adfc64423b75\">\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/pacifica-fi-docs-migrate-92/_hvnb__A1AWsweS4/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Pacifica\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0EA5E9\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.pacifica.fi/api-documentation/api/websocket/subscriptions/account-transfers\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-documentation/api/websocket/subscriptions/account-transfers.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.pacifica.fi/#organization\",\"name\":\"Pacifica\",\"url\":\"https://docs.pacifica.fi\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/pacifica-fi-docs-migrate-92/g3zlaiQhnLQgGHk6/logo/light.svg?fit=max\u0026auto=format\u0026n=g3zlaiQhnLQgGHk6\u0026q=85\u0026s=90adf738a8b2852101abdc8fff82d09b\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.pacifica.fi#website\",\"name\":\"Pacifica\",\"url\":\"https://docs.pacifica.fi\",\"publisher\":{\"@id\":\"https://docs.pacifica.fi/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.pacifica.fi/api-documentation/api/websocket/subscriptions/account-transfers#webpage\",\"url\":\"https://docs.pacifica.fi/api-documentation/api/websocket/subscriptions/account-transfers\",\"name\":\"Account Transfers\",\"description\":\"Streams deposit, withdrawal, and transfer events for an account.\",\"dateModified\":\"2026-06-30T01:41:36.444Z\",\"isPartOf\":{\"@id\":\"https://docs.pacifica.fi#website\"},\"breadcrumb\":{\"@id\":\"https://docs.pacifica.fi/api-documentation/api/websocket/subscriptions/account-transfers#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.pacifica.fi/api-documentation/api/websocket/subscriptions/account-transfers#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Documentation\",\"item\":\"https://docs.pacifica.fi/api-documentation/api\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Websocket\",\"item\":\"https://docs.pacifica.fi/api-documentation/api/websocket\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Subscriptions\",\"item\":\"https://docs.pacifica.fi/api-documentation/api/websocket/subscriptions\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Account Transfers\",\"item\":\"https://docs.pacifica.fi/api-documentation/api/websocket/subscriptions/account-transfers\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.pacifica.fi/api-documentation/api/websocket/subscriptions/account-transfers#article\",\"headline\":\"Account Transfers\",\"name\":\"Account Transfers\",\"description\":\"Streams deposit, withdrawal, and transfer events for an account.\",\"url\":\"https://docs.pacifica.fi/api-documentation/api/websocket/subscriptions/account-transfers\",\"mainEntityOfPage\":{\"@id\":\"https://docs.pacifica.fi/api-documentation/api/websocket/subscriptions/account-transfers#webpage\"},\"dateModified\":\"2026-06-30T01:41:36.444Z\",\"publisher\":{\"@id\":\"https://docs.pacifica.fi/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.pacifica.fi#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Pacifica\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Pacifica\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-documentation/api/websocket/subscriptions/account-transfers.md","siteName":"Pacifica","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/pacifica/readme"}]},{"tab":"API Reference","groups":[{"group":"API Documentation","pages":[{"title":"Overview","href":"/api-documentation/api"},{"group":"REST API","root":{"title":"REST API","href":"/api-documentation/api/rest-api"},"pages":[{"group":"Markets","root":{"title":"Markets","href":"/api-documentation/api/rest-api/markets"},"pages":[{"title":"Get Market Info","href":"/api-documentation/api/rest-api/markets/get-market-info"},{"title":"Get Prices","href":"/api-documentation/api/rest-api/markets/get-prices"},{"title":"Get Candle Data","href":"/api-documentation/api/rest-api/markets/get-candle-data"},{"title":"Get Mark Price Candle Data","href":"/api-documentation/api/rest-api/markets/get-mark-price-candle-data"},{"title":"Get Orderbook","href":"/api-documentation/api/rest-api/markets/get-orderbook"},{"title":"Get Recent Trades","href":"/api-documentation/api/rest-api/markets/get-recent-trades"},{"title":"Get Historical Funding","href":"/api-documentation/api/rest-api/markets/get-historical-funding"},{"title":"Get Fee Levels","href":"/api-documentation/api/rest-api/markets/get-fee-levels"},{"title":"Get Loan Pool","href":"/api-documentation/api/rest-api/markets/get-loan-pool"}]},{"group":"Account","root":{"title":"Account","href":"/api-documentation/api/rest-api/account"},"pages":[{"title":"Get Account Info","href":"/api-documentation/api/rest-api/account/get-account-info"},{"title":"Get Account Settings","href":"/api-documentation/api/rest-api/account/get-account-settings"},{"title":"Update Account Settings","href":"/api-documentation/api/rest-api/account/update-account-settings"},{"title":"Update Leverage","href":"/api-documentation/api/rest-api/account/update-leverage"},{"title":"Update Margin Mode","href":"/api-documentation/api/rest-api/account/update-margin-mode"},{"title":"Get Positions","href":"/api-documentation/api/rest-api/account/get-positions"},{"title":"Get Trade History","href":"/api-documentation/api/rest-api/account/get-trade-history"},{"title":"Get Funding History","href":"/api-documentation/api/rest-api/account/get-funding-history"},{"title":"Get Account Equity History","href":"/api-documentation/api/rest-api/account/get-account-equity-history"},{"title":"Get Account Balance History","href":"/api-documentation/api/rest-api/account/get-account-balance-history"},{"title":"Request Withdrawal","href":"/api-documentation/api/rest-api/account/request-withdrawal"},{"title":"Get Account Loan Info","href":"/api-documentation/api/rest-api/account/get-account-loan-info"},{"title":"Add Isolated Margin","href":"/api-documentation/api/rest-api/account/add-isolated-margin"},{"title":"Update Spot Settings","href":"/api-documentation/api/rest-api/account/update-spot-settings"},{"title":"Toggle Auto-Lending","href":"/api-documentation/api/rest-api/account/toggle-auto-lending"},{"title":"Get Spot Balance History","href":"/api-documentation/api/rest-api/account/get-spot-balance-history"},{"title":"Withdraw Spot Asset","href":"/api-documentation/api/rest-api/account/withdraw-spot-asset"},{"title":"Get Pending Spot Withdrawals","href":"/api-documentation/api/rest-api/account/get-pending-spot-withdrawals"},{"title":"Get Spot Deposit History","href":"/api-documentation/api/rest-api/account/get-spot-deposit-history"},{"title":"Get Spot Withdrawal History","href":"/api-documentation/api/rest-api/account/get-spot-withdrawal-history"}]},{"group":"Two-Factor Authentication","root":{"title":"Two-Factor Authentication","href":"/api-documentation/api/rest-api/two-factor"},"pages":[{"title":"Get Two-Factor Status","href":"/api-documentation/api/rest-api/two-factor/get-two-factor-status"},{"title":"Begin TOTP Enrollment","href":"/api-documentation/api/rest-api/two-factor/begin-totp-enrollment"},{"title":"Finish TOTP Enrollment","href":"/api-documentation/api/rest-api/two-factor/finish-totp-enrollment"},{"title":"Begin WebAuthn Registration","href":"/api-documentation/api/rest-api/two-factor/begin-webauthn-registration"},{"title":"Finish WebAuthn Registration","href":"/api-documentation/api/rest-api/two-factor/finish-webauthn-registration"},{"title":"Begin WebAuthn Authentication","href":"/api-documentation/api/rest-api/two-factor/begin-webauthn-authentication"},{"title":"Disable Two-Factor Authentication","href":"/api-documentation/api/rest-api/two-factor/disable-two-factor"},{"title":"Remove Factor","href":"/api-documentation/api/rest-api/two-factor/remove-factor"},{"title":"Rename Factor","href":"/api-documentation/api/rest-api/two-factor/rename-factor"},{"title":"Regenerate Recovery Keys","href":"/api-documentation/api/rest-api/two-factor/regenerate-recovery-keys"}]},{"group":"Notifications","root":{"title":"Notifications","href":"/api-documentation/api/rest-api/notifications"},"pages":[{"title":"Register Expo Device","href":"/api-documentation/api/rest-api/notifications/register-expo-device"},{"title":"Unregister Expo Device","href":"/api-documentation/api/rest-api/notifications/unregister-expo-device"},{"title":"Get Web Push Config","href":"/api-documentation/api/rest-api/notifications/get-web-push-config"},{"title":"Register Web Push Subscription","href":"/api-documentation/api/rest-api/notifications/register-web-push-subscription"},{"title":"Get Web Push Subscription Status","href":"/api-documentation/api/rest-api/notifications/get-web-push-subscription-status"},{"title":"Unregister Web Push Subscription","href":"/api-documentation/api/rest-api/notifications/unregister-web-push-subscription"},{"title":"List Notification Preferences","href":"/api-documentation/api/rest-api/notifications/list-notification-preferences"},{"title":"Set Notification Preference","href":"/api-documentation/api/rest-api/notifications/set-notification-preference"},{"title":"Set Notification Master Preference","href":"/api-documentation/api/rest-api/notifications/set-notification-master-preference"},{"title":"Send Test Notification","href":"/api-documentation/api/rest-api/notifications/send-test-notification"},{"title":"Get Notification History","href":"/api-documentation/api/rest-api/notifications/get-notification-history"},{"title":"Mark Notifications Seen","href":"/api-documentation/api/rest-api/notifications/mark-notifications-seen"}]},{"group":"Vaults","root":{"title":"Vaults","href":"/api-documentation/api/rest-api/vaults"},"pages":[{"title":"Create Vault","href":"/api-documentation/api/rest-api/vaults/create-vault"},{"title":"Claim Vault Referral Code","href":"/api-documentation/api/rest-api/vaults/claim-vault-referral-code"},{"title":"Deposit to Vault","href":"/api-documentation/api/rest-api/vaults/deposit-to-vault"},{"title":"Claim Vault Manager","href":"/api-documentation/api/rest-api/vaults/claim-vault-manager"},{"title":"Withdraw From Vault","href":"/api-documentation/api/rest-api/vaults/withdraw-from-vault"},{"title":"Update Vault Deposit Cap","href":"/api-documentation/api/rest-api/vaults/update-vault-deposit-cap"},{"title":"Add Vault Whitelist","href":"/api-documentation/api/rest-api/vaults/add-vault-whitelist"},{"title":"Remove Vault Whitelist","href":"/api-documentation/api/rest-api/vaults/remove-vault-whitelist"},{"title":"Add Vault Blacklist","href":"/api-documentation/api/rest-api/vaults/add-vault-blacklist"},{"title":"Remove Vault Blacklist","href":"/api-documentation/api/rest-api/vaults/remove-vault-blacklist"},{"title":"Add Vault Max Leverage","href":"/api-documentation/api/rest-api/vaults/add-vault-max-leverage"},{"title":"Remove Vault Max Leverage","href":"/api-documentation/api/rest-api/vaults/remove-vault-max-leverage"},{"title":"List Vaults","href":"/api-documentation/api/rest-api/vaults/list-vaults"}]},{"group":"Subaccounts","root":{"title":"Subaccounts","href":"/api-documentation/api/rest-api/subaccounts"},"pages":[{"title":"Create Subaccount","href":"/api-documentation/api/rest-api/subaccounts/create-subaccount"},{"title":"List Subaccounts","href":"/api-documentation/api/rest-api/subaccounts/list-subaccounts"},{"title":"Subaccount Fund Transfer","href":"/api-documentation/api/rest-api/subaccounts/subaccount-fund-transfer"},{"title":"Subaccount Spot Transfer","href":"/api-documentation/api/rest-api/subaccounts/subaccount-spot-transfer"}]},{"group":"Spot","root":{"title":"Spot","href":"/api-documentation/api/rest-api/spot"},"pages":[{"title":"Get Spot Assets","href":"/api-documentation/api/rest-api/spot/get-spot-assets"},{"title":"Get Bridge Info","href":"/api-documentation/api/rest-api/spot/get-bridge-info"},{"title":"Get Bridge Parameters","href":"/api-documentation/api/rest-api/spot/get-bridge-parameters"}]},{"group":"Orders","root":{"title":"Orders","href":"/api-documentation/api/rest-api/orders"},"pages":[{"title":"Create Market Order","href":"/api-documentation/api/rest-api/orders/create-market-order"},{"title":"Create Limit Order","href":"/api-documentation/api/rest-api/orders/create-limit-order"},{"title":"Create Stop Order","href":"/api-documentation/api/rest-api/orders/create-stop-order"},{"title":"Create Position TP/SL","href":"/api-documentation/api/rest-api/orders/create-position-tp-sl"},{"title":"Cancel Order","href":"/api-documentation/api/rest-api/orders/cancel-order"},{"title":"Cancel All Orders","href":"/api-documentation/api/rest-api/orders/cancel-all-orders"},{"title":"Cancel Stop Order","href":"/api-documentation/api/rest-api/orders/cancel-stop-order"},{"title":"Edit Order","href":"/api-documentation/api/rest-api/orders/edit-order"},{"title":"Batch Order","href":"/api-documentation/api/rest-api/orders/batch-order"},{"title":"Get Open Orders","href":"/api-documentation/api/rest-api/orders/get-open-orders"},{"title":"Get Order History","href":"/api-documentation/api/rest-api/orders/get-order-history"},{"title":"Get Order History by ID","href":"/api-documentation/api/rest-api/orders/get-order-history-by-id"},{"title":"Get Order History Records","href":"/api-documentation/api/rest-api/orders/get-order-history-records"}]},{"group":"Order Strategies","root":{"title":"Order Strategies","href":"/api-documentation/api/rest-api/order-strategies"},"pages":[{"title":"Create Order Strategy","href":"/api-documentation/api/rest-api/order-strategies/create-order-strategy"},{"title":"Edit Order Strategy","href":"/api-documentation/api/rest-api/order-strategies/edit-order-strategy"},{"title":"Cancel Order Strategy","href":"/api-documentation/api/rest-api/order-strategies/cancel-order-strategy"},{"title":"Get Open Order Strategies","href":"/api-documentation/api/rest-api/order-strategies/get-open-order-strategies"},{"title":"Get Order Strategy History","href":"/api-documentation/api/rest-api/order-strategies/get-order-strategy-history"},{"title":"Get Order Strategy","href":"/api-documentation/api/rest-api/order-strategies/get-order-strategy"},{"title":"Get Order Strategy Timeline","href":"/api-documentation/api/rest-api/order-strategies/get-order-strategy-timeline"},{"title":"Strategy Parameters","href":"/api-documentation/api/rest-api/order-strategies/strategy-parameters"}]},{"group":"TWAP","root":{"title":"TWAP","href":"/api-documentation/api/rest-api/twap"},"pages":[{"title":"Create TWAP Order","href":"/api-documentation/api/rest-api/twap/create-twap-order"},{"title":"Cancel TWAP Order","href":"/api-documentation/api/rest-api/twap/cancel-twap-order"},{"title":"Get Open TWAP Orders","href":"/api-documentation/api/rest-api/twap/get-open-twap-orders"},{"title":"Get TWAP Order History","href":"/api-documentation/api/rest-api/twap/get-twap-order-history"},{"title":"Get TWAP Order History by ID","href":"/api-documentation/api/rest-api/twap/get-twap-order-history-by-id"},{"title":"Get TWAP Records","href":"/api-documentation/api/rest-api/twap/get-twap-records"},{"title":"Get TWAP Record History","href":"/api-documentation/api/rest-api/twap/get-twap-record-history"}]},{"group":"Print","root":{"title":"Print","href":"/api-documentation/api/rest-api/print"},"pages":[{"title":"Create Print Order","href":"/api-documentation/api/rest-api/print/create-print-order"}]}]},{"group":"Websocket","root":{"title":"Websocket","href":"/api-documentation/api/websocket"},"pages":[{"group":"Subscriptions","root":{"title":"Subscriptions","href":"/api-documentation/api/websocket/subscriptions"},"pages":[{"title":"Prices","href":"/api-documentation/api/websocket/subscriptions/prices"},{"title":"Orderbook","href":"/api-documentation/api/websocket/subscriptions/orderbook"},{"title":"Best Bid Offer (BBO)","href":"/api-documentation/api/websocket/subscriptions/best-bid-offer-bbo"},{"title":"Trades","href":"/api-documentation/api/websocket/subscriptions/trades"},{"title":"Candle","href":"/api-documentation/api/websocket/subscriptions/candle"},{"title":"Mark Price Candle","href":"/api-documentation/api/websocket/subscriptions/mark-price-candle"},{"title":"Account Margin","href":"/api-documentation/api/websocket/subscriptions/account-margin"},{"title":"Account Leverage","href":"/api-documentation/api/websocket/subscriptions/account-leverage"},{"title":"Account Info","href":"/api-documentation/api/websocket/subscriptions/account-info"},{"title":"Account Positions","href":"/api-documentation/api/websocket/subscriptions/account-positions"},{"title":"Account Order Updates","href":"/api-documentation/api/websocket/subscriptions/account-order-updates"},{"title":"Account Order Strategy Updates","href":"/api-documentation/api/websocket/subscriptions/account-order-strategy-updates"},{"title":"Account TWAP Orders","href":"/api-documentation/api/websocket/subscriptions/account-twap-orders"},{"title":"Account TWAP Order Updates","href":"/api-documentation/api/websocket/subscriptions/account-twap-order-updates"},{"title":"Account Trades","description":"Streams all trades that take place for an account","href":"/api-documentation/api/websocket/subscriptions/account-trades"},{"title":"Account Transfers","href":"/api-documentation/api/websocket/subscriptions/account-transfers"},{"title":"Account Liquidations","description":"Streams each of an account's positions that liquidation or ADL closed.","href":"/api-documentation/api/websocket/subscriptions/account-liquidations"}]},{"group":"Trading operations","root":{"title":"Trading Operations","href":"/api-documentation/api/websocket/trading-operations"},"pages":[{"title":"Create Market Order","href":"/api-documentation/api/websocket/trading-operations/create-market-order"},{"title":"Create Limit Order","href":"/api-documentation/api/websocket/trading-operations/create-limit-order"},{"title":"Edit Order","href":"/api-documentation/api/websocket/trading-operations/edit-order"},{"title":"Batch Order","href":"/api-documentation/api/websocket/trading-operations/batch-order"},{"title":"Cancel Order","href":"/api-documentation/api/websocket/trading-operations/cancel-order"},{"title":"Cancel All Orders","href":"/api-documentation/api/websocket/trading-operations/cancel-all-orders"}]}]},{"group":"MCP","root":{"title":"MCP Server","href":"/api-documentation/api/mcp"},"pages":[{"title":"Configuration","href":"/api-documentation/api/mcp/configuration"},{"title":"Client Setup","href":"/api-documentation/api/mcp/clients"},{"title":"Tools","href":"/api-documentation/api/mcp/tools"}]},{"group":"Signing","root":{"title":"Signing","href":"/api-documentation/api/signing"},"pages":[{"title":"Implementation","href":"/api-documentation/api/signing/implementation"},{"title":"Operation Types","href":"/api-documentation/api/signing/operation-types"},{"title":"Error Handling","href":"/api-documentation/api/signing/error-handling"},{"title":"Hardware Wallet","href":"/api-documentation/api/signing/hardware-wallet"},{"title":"API Agent Keys","href":"/api-documentation/api/signing/api-agent-keys"}]},{"group":"Rate limits","root":{"title":"Rate Limits","href":"/api-documentation/api/rate-limits"},"pages":[{"title":"API Config Keys","href":"/api-documentation/api/rate-limits/api-config-keys"}]},{"title":"Market Symbols","href":"/api-documentation/api/market-symbols"},{"title":"Tick and Lot Size","href":"/api-documentation/api/tick-and-lot-size"},{"title":"Last ID","href":"/api-documentation/api/last-id"},{"title":"Error Codes","href":"/api-documentation/api/error-codes"},{"group":"API FAQ","root":{"title":"API FAQ","href":"/api-documentation/api/api-faq"},"pages":[{"title":"403 CloudFront","href":"/api-documentation/api/api-faq/403-cloudfront"},{"title":"Delayed account\\_positions","href":"/api-documentation/api/api-faq/delayed-account_positions"}]},{"title":"Changelog","href":"/api-documentation/changelog"}]}]},{"tab":"Support","pages":[{"title":"Support","href":"/support/trade-outcomes"}]}]},"basePath":"","title":"Account Transfers - Pacifica","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":[],"chunks":[]}