Fetch paginated transaction history for an embedded wallet with the Swift and Android SDKs
Privy’s Swift and Android SDKs let an app fetch the transaction history for an embedded Ethereum or
Solana wallet, with support for filtering by asset, token, or transaction hash, and paginating
through results.
Only TEE wallets support fetching transaction history. Calling getTransactions on a wallet that
isn’t a TEE wallet returns an error.
Use the getTransactions method on an embedded wallet to fetch its paginated transaction history.
The current status of the transaction: .broadcasted, .confirmed,
.executionReverted, .failed, .replaced, .finalized, .providerError,
.pending, or .unknown(rawValue).
A cursor for fetching the next page of results. nil if there are no more results.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Privy Docs","colors":{"primary":"#010110","light":"#FFFFFF"},"logo":{"light":"https://mintcdn.com/privy-c2af3412/Ih_Fo3QYM486gzWq/logo/privy-logo-light.png?fit=max\u0026auto=format\u0026n=Ih_Fo3QYM486gzWq\u0026q=85\u0026s=bd297b680ace8a13db4d9ce977f93180","dark":"https://mintcdn.com/privy-c2af3412/Ih_Fo3QYM486gzWq/logo/privy-logo-dark.png?fit=max\u0026auto=format\u0026n=Ih_Fo3QYM486gzWq\u0026q=85\u0026s=24d83970695ab19a1803a2eb00dbea4e"},"favicon":"https://mintcdn.com/privy-c2af3412/YByWVKlFbSpnpSJG/favicon.png?fit=max\u0026auto=format\u0026n=YByWVKlFbSpnpSJG\u0026q=85\u0026s=ee4038168ea586e5f72041e5e2a1f5c8","api":{"openapi":{"source":"https://api.staging.privy.io/v1/openapi.json"},"playground":{"display":"interactive"},"examples":{"languages":["curl","java","javascript","php","go"]},"mdx":{"server":"https://api.privy.io"}},"background":{"color":{"light":"#FFFFFF","dark":"#010110"}},"navbar":{"links":[{"href":"https://demo.privy.io","label":"Demo"},{"href":"https://privy.io/slack","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://dashboard.privy.io"}},"seo":{"metatags":{"og:type":"website","og:site_name":"Privy Docs","og:image":"https://assets.privy.io/docs-og.png","twitter:title":"Privy Docs","twitter:card":"summary_large_image","twitter:image":"https://assets.privy.io/docs-og.png"},"organization":{"id":"https://www.privy.io/#organization","name":"Privy","url":"https://www.privy.io","logo":"https://assets.privy.io/docs-og.png","sameAs":["https://x.com/privy_io","https://github.com/privy-io"]}},"styling":{"codeblocks":"system","latex":true},"integrations":{"gtm":{"tagId":"GTM-WV9MVTB3"}},"contextual":{"options":["claude","chatgpt","cursor","vscode","mcp","copy","view"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"privy-c2af3412","hasAudioNarration":false,"actualSubdomain":"privy-c2af3412","customDomains":["docs.privy.io"],"gitSource":{"type":"github","owner":"privy-io","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae27fd14f1bcceb1a61088c","collectionId":"55a7d887-7b7a-47f5-a23f-d6456361b98a","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae27fd14f1bcceb1a61088c"},"feedback":{"issues":true,"thumbs":true,"edits":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae27fd14f1bcceb1a61088c","clientVersion":"0.0.4006","searchFilterCounts":[{"language":"default","tag":"Wallets","count":282},{"language":"default","tag":"API reference","count":239},{"language":"default","tag":"Recipes","count":138},{"language":"default","tag":"All recipes","count":137},{"language":"default","tag":"Identity","count":130},{"language":"default","tag":"Signatures and transactions","count":90},{"language":"default","tag":"Basics","count":86},{"language":"default","tag":"Users","count":82},{"language":"default","tag":"Financial flows","count":79},{"language":"default","tag":"Controls","count":76}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","href":"/_mintlify/custom/privy-c2af3412/4e67a2a256ed8221/style.css"}],"page":{"pagePath":"wallets/gas-and-asset-management/assets/list-transactions","slug":"/wallets/gas-and-asset-management/assets/list-transactions","pageMetadata":{"title":"List transactions","description":"Fetch paginated transaction history for an embedded wallet with the Swift and Android SDKs","keywords":["getTransactions","transaction history","list transactions","embedded wallet","Swift","Android","Ethereum","Solana","pagination"],"href":"/wallets/gas-and-asset-management/assets/list-transactions"},"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: \"Fetch paginated transaction history for an embedded wallet with the Swift and Android SDKs\"\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,Expandable,Heading,Note,ParamField,ResponseField,View,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!View)_missingMdxReference(`View`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Privy’s Swift and Android SDKs let an app fetch the transaction history for an embedded Ethereum or\nSolana wallet, with support for filtering by asset, token, or transaction hash, and paginating\nthrough results.`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Only TEE wallets support fetching transaction history. Calling `,_jsx(_components.code,{children:`getTransactions`}),` on a wallet that\nisn’t a TEE wallet returns an error.`]})}),`\n`,_jsxs(View,{title:`Swift`,icon:`swift`,id:`swift`,children:[_jsxs(_components.p,{children:[`Use the `,_jsx(_components.code,{children:`getTransactions`}),` method on an embedded wallet to fetch its paginated transaction history.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`swift`,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:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`func`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` getTransactions`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`_`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` params`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: GetTransactionsParams) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`async`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` throws`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ->`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` TransactionsPage`})]}),`\n`]})})}),_jsx(Heading,{level:`3`,id:`usage`,children:`Usage`}),_jsx(CodeBlock,{filename:``,numberOfLines:`21`,language:`swift`,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:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`21`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Ethereum`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`guard`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` let`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ethereumWallet `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` privy.user`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.embeddedEthereumWallets.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`first`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` else`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`return`}),_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:`let`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` params `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` GetTransactionsParams`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` chain`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: .`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`base`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` assets`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"eth\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` limit`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`20`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_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:`let`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` page `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` try`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ethereumWallet.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`getTransactions`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(params)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`for`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` transaction `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`in`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` page.transactions {`})]}),`\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:`(transaction.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`transactionHash`}),_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:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, transaction.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`status`}),_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`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Fetch the next page, if any`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`if`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` let`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` nextCursor `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` page.nextCursor {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` let`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` nextPage `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` try`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ethereumWallet.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`getTransactions`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` GetTransactionsParams`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`chain`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: .`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`base`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`assets`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"eth\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`], `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`limit`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`20`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`cursor`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: nextCursor)`})]}),`\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`]})})}),_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`swift`,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:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Solana`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`guard`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` let`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` solanaWallet `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` privy.user`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.embeddedSolanaWallets.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`first`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` else`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`return`}),_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:`let`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` page `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` try`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` solanaWallet.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`getTransactions`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` GetTransactionsParams`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`chain`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: .`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`solana`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`assets`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`], `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`limit`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`20`}),_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`]})})}),_jsx(Heading,{level:`3`,id:`parameters`,children:`Parameters`}),_jsx(Note,{children:_jsxs(_components.p,{children:[`You must provide either `,_jsx(_components.code,{children:`assets`}),` or `,_jsx(_components.code,{children:`tokens`}),`. They are mutually exclusive — do not pass both.`]})}),_jsxs(ParamField,{path:`params`,type:`GetTransactionsParams`,required:true,id:`param-params`,children:[_jsx(_components.p,{children:`The filters and pagination options for the transaction history request.`}),_jsxs(Expandable,{title:`child attributes`,defaultOpen:`true`,children:[_jsx(ParamField,{path:`chain`,type:`TransactionChain`,required:true,id:`param-chain`,children:_jsxs(_components.p,{children:[`The chain to fetch transactions for, e.g. `,_jsx(_components.code,{children:`.base`}),`, `,_jsx(_components.code,{children:`.ethereum`}),`, `,_jsx(_components.code,{children:`.solana`}),`, or\n`,_jsx(_components.code,{children:`.custom(chainSlug)`}),` for other supported chains.`]})}),_jsx(ParamField,{path:`assets`,type:`[String]?`,required:true,id:`param-assets`,children:_jsxs(_components.p,{children:[`Filter by named asset, e.g. `,_jsx(_components.code,{children:`[\"eth\"]`}),` or `,_jsx(_components.code,{children:`[\"ousd\"]`}),`. Required if `,_jsx(_components.code,{children:`tokens`}),` is not\nprovided. Mutually exclusive with `,_jsx(_components.code,{children:`tokens`}),`.`]})}),_jsx(ParamField,{path:`tokens`,type:`[String]?`,required:true,id:`param-tokens`,children:_jsxs(_components.p,{children:[`Filter by token contract address (EVM) or mint address (Solana). Required if `,_jsx(_components.code,{children:`assets`}),`\nis not provided. Mutually exclusive with `,_jsx(_components.code,{children:`assets`}),`.`]})}),_jsx(ParamField,{path:`txHash`,type:`String?`,id:`param-tx-hash`,children:_jsxs(_components.p,{children:[`Filter to a single transaction by its hash. EVM hashes are `,_jsx(_components.code,{children:`0x`}),`-prefixed 64 hex\ncharacters; Solana hashes are 87-88 base58 characters.`]})}),_jsx(ParamField,{path:`limit`,type:`Int?`,id:`param-limit`,children:_jsx(_components.p,{children:`The maximum number of transactions to return in this page.`})}),_jsx(ParamField,{path:`cursor`,type:`String?`,id:`param-cursor`,children:_jsxs(_components.p,{children:[`A pagination cursor from a previous `,_jsx(_components.code,{children:`TransactionsPage.nextCursor`}),`, used to fetch the\nnext page of results.`]})}),_jsx(ParamField,{path:`includeArchived`,type:`Bool?`,id:`param-include-archived`,children:_jsxs(_components.p,{children:[`Whether to include transactions from archived wallets. Defaults to `,_jsx(_components.code,{children:`false`}),`.`]})})]})]}),_jsx(Heading,{level:`3`,id:`returns`,children:`Returns`}),_jsxs(ResponseField,{name:`TransactionsPage`,type:`TransactionsPage`,id:`param-transactions-page`,children:[_jsx(_components.p,{children:`The requested page of transaction history.`}),_jsxs(Expandable,{title:`child attributes`,defaultOpen:`true`,children:[_jsxs(ResponseField,{name:`transactions`,type:`[WalletTransaction]`,id:`param-transactions`,children:[_jsx(_components.p,{children:`The transactions in this page.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`caip2`,type:`String`,id:`param-caip2`,children:_jsxs(_components.p,{children:[`The CAIP-2 chain ID for the network the transaction was broadcasted on, e.g. `,_jsx(_components.code,{children:`eip155:8453`}),`.`]})}),_jsx(ResponseField,{name:`transactionHash`,type:`String?`,id:`param-transaction-hash`,children:_jsx(_components.p,{children:`The hash of the transaction, if it has been broadcasted.`})}),_jsx(ResponseField,{name:`userOperationHash`,type:`String?`,id:`param-user-operation-hash`,children:_jsx(_components.p,{children:`The ERC-4337 user operation hash, for smart-contract wallets only.`})}),_jsx(ResponseField,{name:`status`,type:`TransactionStatus`,id:`param-status`,children:_jsxs(_components.p,{children:[`The current status of the transaction: `,_jsx(_components.code,{children:`.broadcasted`}),`, `,_jsx(_components.code,{children:`.confirmed`}),`,\n`,_jsx(_components.code,{children:`.executionReverted`}),`, `,_jsx(_components.code,{children:`.failed`}),`, `,_jsx(_components.code,{children:`.replaced`}),`, `,_jsx(_components.code,{children:`.finalized`}),`, `,_jsx(_components.code,{children:`.providerError`}),`,\n`,_jsx(_components.code,{children:`.pending`}),`, or `,_jsx(_components.code,{children:`.unknown(rawValue)`}),`.`]})}),_jsx(ResponseField,{name:`createdAt`,type:`Int`,id:`param-created-at`,children:_jsx(_components.p,{children:`The creation time of the transaction, in milliseconds since the Unix epoch.`})}),_jsx(ResponseField,{name:`sponsored`,type:`Bool`,id:`param-sponsored`,children:_jsx(_components.p,{children:`Whether gas for the transaction was sponsored.`})}),_jsx(ResponseField,{name:`privyTransactionId`,type:`String?`,id:`param-privy-transaction-id`,children:_jsx(_components.p,{children:`Privy’s internal ID for the transaction, if available.`})}),_jsx(ResponseField,{name:`walletId`,type:`String`,id:`param-wallet-id`,children:_jsx(_components.p,{children:`The ID of the wallet that sent the transaction.`})}),_jsxs(ResponseField,{name:`details`,type:`TransactionDetails?`,id:`param-details`,children:[_jsx(_components.p,{children:`Additional details about the transaction, present for transfer transactions.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`type`,type:`TransactionType`,id:`param-type`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`.transferSent`}),`, `,_jsx(_components.code,{children:`.transferReceived`}),`, or `,_jsx(_components.code,{children:`.unknown(rawValue)`}),`.`]})}),_jsx(ResponseField,{name:`sender`,type:`String`,id:`param-sender`,children:_jsx(_components.p,{children:`The address that sent the transaction.`})}),_jsx(ResponseField,{name:`senderPrivyUserId`,type:`String?`,id:`param-sender-privy-user-id`,children:_jsx(_components.p,{children:`The Privy user ID for the sender, if known.`})}),_jsx(ResponseField,{name:`recipient`,type:`String`,id:`param-recipient`,children:_jsx(_components.p,{children:`The address that received the transaction.`})}),_jsx(ResponseField,{name:`recipientPrivyUserId`,type:`String?`,id:`param-recipient-privy-user-id`,children:_jsx(_components.p,{children:`The Privy user ID for the recipient, if known.`})}),_jsx(ResponseField,{name:`chain`,type:`String`,id:`param-chain-1`,children:_jsx(_components.p,{children:`The chain the transaction occurred on.`})}),_jsx(ResponseField,{name:`asset`,type:`String`,id:`param-asset`,children:_jsxs(_components.p,{children:[`The asset transferred, e.g. `,_jsx(_components.code,{children:`\"eth\"`}),` or a token contract/mint address.`]})}),_jsx(ResponseField,{name:`rawValue`,type:`String`,id:`param-raw-value`,children:_jsx(_components.p,{children:`The raw transferred amount, as a string to avoid floating-point precision loss.`})}),_jsx(ResponseField,{name:`rawValueDecimals`,type:`Int`,id:`param-raw-value-decimals`,children:_jsxs(_components.p,{children:[`The number of decimals for `,_jsx(_components.code,{children:`rawValue`}),`.`]})}),_jsx(ResponseField,{name:`displayValues`,type:`[String: String]`,id:`param-display-values`,children:_jsx(_components.p,{children:`Formatted, human-readable amounts for the transfer.`})})]})]})]})]}),_jsx(ResponseField,{name:`nextCursor`,type:`String?`,id:`param-next-cursor`,children:_jsxs(_components.p,{children:[`A cursor for fetching the next page of results. `,_jsx(_components.code,{children:`nil`}),` if there are no more results.`]})})]})]})]}),`\n`,_jsxs(View,{title:`Android`,icon:`android`,id:`android`,children:[_jsxs(_components.p,{children:[`Use the `,_jsx(_components.code,{children:`getTransactions`}),` method on an embedded wallet to fetch its paginated transaction history.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`kotlin`,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:`kotlin`,children:_jsxs(_components.code,{language:`kotlin`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`public`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` suspend`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` fun`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` getTransactions`}),_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:` params: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`GetTransactionsParams`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`TransactionChain`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Evm`}),_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:`): `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Result`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`TransactionsPage`}),_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:`public`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` suspend`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` fun`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` getTransactions`}),_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:` params: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`GetTransactionsParams`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`TransactionChain`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Solana`}),_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:`): `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Result`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`TransactionsPage`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})}),_jsx(Heading,{level:`3`,id:`usage-2`,children:`Usage`}),_jsx(CodeBlock,{filename:``,numberOfLines:`26`,language:`kotlin`,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:`kotlin`,children:_jsxs(_components.code,{language:`kotlin`,numberOfLines:`26`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Ethereum`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`val`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ethereumWallet `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` privy.user?.embeddedEthereumWallets?.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`first`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`() ?: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`return`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`val`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` params `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` GetTransactionsParams`}),_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:` chain `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` TransactionChain.Evm.Base,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` assets `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` listOf`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"eth\"`}),_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:` limit `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 20`}),_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`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`val`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` result `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ethereumWallet.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`getTransactions`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(params)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`result.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`fold`}),_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:` onSuccess `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { page `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`->`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` page.transactions.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`forEach`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { transaction `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`->`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` println`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`transaction.transactionHash`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`transaction.status`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},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`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Fetch the next page, if any, reusing the same filters`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` page.nextCursor?.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`let`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { nextCursor `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`->`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ethereumWallet.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`getTransactions`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(params.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`copy`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(cursor `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` nextCursor))`})]}),`\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:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` onFailure `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { error `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`->`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Handle error`})}),`\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`]})})}),_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`kotlin`,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:`kotlin`,children:_jsxs(_components.code,{language:`kotlin`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Solana`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`val`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` solanaWallet `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` privy.user?.embeddedSolanaWallets?.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`first`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`() ?: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`return`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`val`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` result `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` solanaWallet.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`getTransactions`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` GetTransactionsParams`}),_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:` chain `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` TransactionChain.Solana.Mainnet,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` assets `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` listOf`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sol\"`}),_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:` limit `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 20`}),_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`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`]})})}),_jsx(Heading,{level:`3`,id:`parameters-2`,children:`Parameters`}),_jsx(Note,{children:_jsxs(_components.p,{children:[`You must provide either `,_jsx(_components.code,{children:`assets`}),` or `,_jsx(_components.code,{children:`tokens`}),`. They are mutually exclusive — do not pass both.`]})}),_jsxs(ParamField,{path:`params`,type:`GetTransactionsParams`,required:true,id:`param-params-1`,children:[_jsxs(_components.p,{children:[`The filters and pagination options for the transaction history request. The type parameter\nis inferred automatically from the `,_jsx(_components.code,{children:`chain`}),` you pass in, so it doesn’t need to be specified\nexplicitly.`]}),_jsxs(Expandable,{title:`child attributes`,defaultOpen:`true`,children:[_jsx(ParamField,{path:`chain`,type:`TransactionChain.Evm | TransactionChain.Solana`,required:true,id:`param-chain-2`,children:_jsxs(_components.p,{children:[`The chain to fetch transactions for. Pass a `,_jsx(_components.code,{children:`TransactionChain.Evm`}),` case (e.g.\n`,_jsx(_components.code,{children:`TransactionChain.Evm.Base`}),`) when calling from an `,_jsx(_components.code,{children:`EmbeddedEthereumWallet`}),`, or a\n`,_jsx(_components.code,{children:`TransactionChain.Solana`}),` case (e.g. `,_jsx(_components.code,{children:`TransactionChain.Solana.Mainnet`}),`) when calling\nfrom an `,_jsx(_components.code,{children:`EmbeddedSolanaWallet`}),`.`]})}),_jsx(ParamField,{path:`assets`,type:`List\u003cString>?`,required:true,id:`param-assets-1`,children:_jsxs(_components.p,{children:[`Filter by named asset, e.g. `,_jsx(_components.code,{children:`listOf(\"eth\")`}),` or `,_jsx(_components.code,{children:`listOf(\"ousd\")`}),`. Required if `,_jsx(_components.code,{children:`tokens`}),`\nis not provided. Mutually exclusive with `,_jsx(_components.code,{children:`tokens`}),`.`]})}),_jsx(ParamField,{path:`tokens`,type:`List\u003cString>?`,required:true,id:`param-tokens-1`,children:_jsxs(_components.p,{children:[`Filter by token contract address (EVM) or mint address (Solana). Required if `,_jsx(_components.code,{children:`assets`}),`\nis not provided. Mutually exclusive with `,_jsx(_components.code,{children:`assets`}),`.`]})}),_jsx(ParamField,{path:`txHash`,type:`String?`,id:`param-tx-hash-1`,children:_jsxs(_components.p,{children:[`Filter to a single transaction by its hash. EVM hashes are `,_jsx(_components.code,{children:`0x`}),`-prefixed 64 hex\ncharacters; Solana hashes are 87-88 base58 characters.`]})}),_jsx(ParamField,{path:`limit`,type:`Int?`,id:`param-limit-1`,children:_jsx(_components.p,{children:`The maximum number of transactions to return in this page.`})}),_jsx(ParamField,{path:`cursor`,type:`String?`,id:`param-cursor-1`,children:_jsxs(_components.p,{children:[`A pagination cursor from a previous `,_jsx(_components.code,{children:`TransactionsPage.nextCursor`}),`, used to fetch the\nnext page of results.`]})}),_jsx(ParamField,{path:`includeArchived`,type:`Boolean?`,id:`param-include-archived-1`,children:_jsxs(_components.p,{children:[`Whether to include transactions from archived wallets. Defaults to `,_jsx(_components.code,{children:`false`}),`.`]})})]})]}),_jsx(Heading,{level:`3`,id:`returns-2`,children:`Returns`}),_jsxs(ResponseField,{name:`result`,type:`Result\u003cTransactionsPage>`,id:`param-result`,children:[_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`Result`}),` that, when successful, contains the requested page of transaction history.`]}),_jsxs(Expandable,{title:`child attributes`,defaultOpen:`true`,children:[_jsxs(ResponseField,{name:`transactions`,type:`List\u003cTransaction>`,id:`param-transactions-1`,children:[_jsx(_components.p,{children:`The transactions in this page.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`caip2`,type:`String`,id:`param-caip2-1`,children:_jsxs(_components.p,{children:[`The CAIP-2 chain ID for the network the transaction was broadcasted on, e.g. `,_jsx(_components.code,{children:`eip155:8453`}),`.`]})}),_jsx(ResponseField,{name:`transactionHash`,type:`String?`,id:`param-transaction-hash-1`,children:_jsx(_components.p,{children:`The hash of the transaction, if it has been broadcasted.`})}),_jsx(ResponseField,{name:`userOperationHash`,type:`String?`,id:`param-user-operation-hash-1`,children:_jsx(_components.p,{children:`The ERC-4337 user operation hash, for smart-contract wallets only.`})}),_jsx(ResponseField,{name:`status`,type:`TransactionStatus`,id:`param-status-1`,children:_jsxs(_components.p,{children:[`The current status of the transaction: `,_jsx(_components.code,{children:`Broadcasted`}),`, `,_jsx(_components.code,{children:`Confirmed`}),`,\n`,_jsx(_components.code,{children:`ExecutionReverted`}),`, `,_jsx(_components.code,{children:`Failed`}),`, `,_jsx(_components.code,{children:`Replaced`}),`, `,_jsx(_components.code,{children:`Finalized`}),`, `,_jsx(_components.code,{children:`ProviderError`}),`,\n`,_jsx(_components.code,{children:`Pending`}),`, or `,_jsx(_components.code,{children:`Unknown(rawValue)`}),`.`]})}),_jsx(ResponseField,{name:`createdAt`,type:`Long`,id:`param-created-at-1`,children:_jsx(_components.p,{children:`The creation time of the transaction, in milliseconds since the Unix epoch.`})}),_jsx(ResponseField,{name:`sponsored`,type:`Boolean`,id:`param-sponsored-1`,children:_jsx(_components.p,{children:`Whether gas for the transaction was sponsored.`})}),_jsx(ResponseField,{name:`privyTransactionId`,type:`String?`,id:`param-privy-transaction-id-1`,children:_jsx(_components.p,{children:`Privy’s internal ID for the transaction, if available.`})}),_jsx(ResponseField,{name:`walletId`,type:`String`,id:`param-wallet-id-1`,children:_jsx(_components.p,{children:`The ID of the wallet that sent the transaction.`})}),_jsxs(ResponseField,{name:`details`,type:`TransactionDetails?`,id:`param-details-1`,children:[_jsx(_components.p,{children:`Additional details about the transaction, present for transfer transactions.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`type`,type:`TransactionType`,id:`param-type-1`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`TransferSent`}),`, `,_jsx(_components.code,{children:`TransferReceived`}),`, or `,_jsx(_components.code,{children:`Unknown(rawValue)`}),`.`]})}),_jsx(ResponseField,{name:`sender`,type:`String`,id:`param-sender-1`,children:_jsx(_components.p,{children:`The address that sent the transaction.`})}),_jsx(ResponseField,{name:`senderPrivyUserId`,type:`String?`,id:`param-sender-privy-user-id-1`,children:_jsx(_components.p,{children:`The Privy user ID for the sender, if known.`})}),_jsx(ResponseField,{name:`recipient`,type:`String`,id:`param-recipient-1`,children:_jsx(_components.p,{children:`The address that received the transaction.`})}),_jsx(ResponseField,{name:`recipientPrivyUserId`,type:`String?`,id:`param-recipient-privy-user-id-1`,children:_jsx(_components.p,{children:`The Privy user ID for the recipient, if known.`})}),_jsx(ResponseField,{name:`chain`,type:`String`,id:`param-chain-3`,children:_jsx(_components.p,{children:`The chain the transaction occurred on.`})}),_jsx(ResponseField,{name:`asset`,type:`String`,id:`param-asset-1`,children:_jsxs(_components.p,{children:[`The asset transferred, e.g. `,_jsx(_components.code,{children:`\"eth\"`}),` or a token contract/mint address.`]})}),_jsx(ResponseField,{name:`rawValue`,type:`String`,id:`param-raw-value-1`,children:_jsx(_components.p,{children:`The raw transferred amount, as a string to avoid floating-point precision loss.`})}),_jsx(ResponseField,{name:`rawValueDecimals`,type:`Int`,id:`param-raw-value-decimals-1`,children:_jsxs(_components.p,{children:[`The number of decimals for `,_jsx(_components.code,{children:`rawValue`}),`.`]})}),_jsx(ResponseField,{name:`displayValues`,type:`Map\u003cString, String>`,id:`param-display-values-1`,children:_jsx(_components.p,{children:`Formatted, human-readable amounts for the transfer.`})})]})]})]})]}),_jsx(ResponseField,{name:`nextCursor`,type:`String?`,id:`param-next-cursor-1`,children:_jsxs(_components.p,{children:[`A cursor for fetching the next page of results. `,_jsx(_components.code,{children:`null`}),` if there are no more results.`]})})]})]})]})]})}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":{"codeStyling":"system","config":{},"pageMetadata":{"title":"List transactions","description":"Fetch paginated transaction history for an embedded wallet with the Swift and Android SDKs","keywords":["getTransactions","transaction history","list transactions","embedded wallet","Swift","Android","Ethereum","Solana","pagination"],"href":"/wallets/gas-and-asset-management/assets/list-transactions"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Usage","slug":"usage","depth":3,"children":[],"viewId":"Swift"},{"title":"Parameters","slug":"parameters","depth":3,"children":[],"viewId":"Swift"},{"title":"Returns","slug":"returns","depth":3,"children":[],"viewId":"Swift"},{"title":"Usage","slug":"usage-2","depth":3,"children":[],"viewId":"Android"},{"title":"Parameters","slug":"parameters-2","depth":3,"children":[],"viewId":"Android"},{"title":"Returns","slug":"returns-2","depth":3,"children":[],"viewId":"Android"}],"multiViewItems":[{"title":"Swift","content":"","icon":"swift","id":"swift","active":true},{"title":"Android","content":"","icon":"android","id":"android","active":false}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/privy-c2af3412/9a6cfa36ced76db0/welcome.js","/_mintlify/custom/privy-c2af3412/1af79d46bd64cd8b/fullstory.js","/_mintlify/custom/privy-c2af3412/e4d91321024fde21/recipes/recipes-search.js","/_mintlify/custom/privy-c2af3412/d31c5451398ab22c/check-links.js"],"subdomain":"privy-c2af3412","siteName":"Privy Docs","title":"List transactions - Privy Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-15T23:04:18.212Z","originalFileLocation":"wallets/gas-and-asset-management/assets/list-transactions.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=\"Fetch paginated transaction history for an embedded wallet with the Swift and Android SDKs\">\u003cmeta data-mint-head name=\"application-name\" content=\"Privy Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/privy-c2af3412/bJgmnaRQwH8sO8y5/_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/privy-c2af3412/bJgmnaRQwH8sO8y5/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/privy-c2af3412/bJgmnaRQwH8sO8y5/_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/privy-c2af3412/bJgmnaRQwH8sO8y5/_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/privy-c2af3412/bJgmnaRQwH8sO8y5/_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/privy-c2af3412/bJgmnaRQwH8sO8y5/_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/privy-c2af3412/bJgmnaRQwH8sO8y5/_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/privy-c2af3412/bJgmnaRQwH8sO8y5/_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/privy-c2af3412/bJgmnaRQwH8sO8y5/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"List transactions - Privy Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Fetch paginated transaction history for an embedded wallet with the Swift and Android SDKs\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Privy Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.privy.io/wallets/gas-and-asset-management/assets/list-transactions\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://assets.privy.io/docs-og.png\">\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=\"Privy Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Fetch paginated transaction history for an embedded wallet with the Swift and Android SDKs\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://assets.privy.io/docs-og.png\">\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/privy-c2af3412/bJgmnaRQwH8sO8y5/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Privy Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#010110\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.privy.io/wallets/gas-and-asset-management/assets/list-transactions\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/wallets/gas-and-asset-management/assets/list-transactions.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.privy.io/#organization\",\"name\":\"Privy\",\"url\":\"https://www.privy.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://assets.privy.io/docs-og.png\"},\"sameAs\":[\"https://x.com/privy_io\",\"https://github.com/privy-io\"]},{\"@type\":\"WebSite\",\"@id\":\"https://docs.privy.io#website\",\"name\":\"Privy Docs\",\"url\":\"https://docs.privy.io\",\"publisher\":{\"@id\":\"https://www.privy.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.privy.io/wallets/gas-and-asset-management/assets/list-transactions#webpage\",\"url\":\"https://docs.privy.io/wallets/gas-and-asset-management/assets/list-transactions\",\"name\":\"List transactions\",\"description\":\"Fetch paginated transaction history for an embedded wallet with the Swift and Android SDKs\",\"dateModified\":\"2026-09-15T23:04:18.212Z\",\"isPartOf\":{\"@id\":\"https://docs.privy.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.privy.io/wallets/gas-and-asset-management/assets/list-transactions#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.privy.io/wallets/gas-and-asset-management/assets/list-transactions#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Transactions\",\"item\":\"https://docs.privy.io/transaction-management/transactions/reference-id\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"List transactions\",\"item\":\"https://docs.privy.io/wallets/gas-and-asset-management/assets/list-transactions\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.privy.io/wallets/gas-and-asset-management/assets/list-transactions#article\",\"headline\":\"List transactions\",\"name\":\"List transactions\",\"description\":\"Fetch paginated transaction history for an embedded wallet with the Swift and Android SDKs\",\"url\":\"https://docs.privy.io/wallets/gas-and-asset-management/assets/list-transactions\",\"mainEntityOfPage\":{\"@id\":\"https://docs.privy.io/wallets/gas-and-asset-management/assets/list-transactions#webpage\"},\"image\":\"https://assets.privy.io/docs-og.png\",\"dateModified\":\"2026-09-15T23:04:18.212Z\",\"keywords\":\"getTransactions, transaction history, list transactions, embedded wallet, Swift, Android, Ethereum, Solana, pagination\",\"publisher\":{\"@id\":\"https://www.privy.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.privy.io#website\"}}]}\u003c/script>","siteName":"Privy Docs","nav":{"global":null,"tabs":[{"tab":"Basics","pages":[{"title":"Basics","href":"/basics/get-started/about"}]},{"tab":"Wallets","menu":[{"item":"Overview","pages":[{"title":"Overview","href":"/wallets/overview"}]},{"item":"Embedded wallets","pages":[{"title":"Embedded wallets","href":"/wallets/overview/embedded"}]},{"item":"Organization wallets","pages":[{"title":"Organization wallets","href":"/organizations/overview"}]},{"item":"External wallets","pages":[{"title":"External wallets","href":"/wallets/connectors/overview"}]},{"item":"Signatures and transactions","groups":[{"group":"Signatures and transactions","pages":[{"title":"Signatures and transactions","sidebarTitle":"Overview","href":"/wallets/signatures-and-transactions"}]},{"group":"Wallet actions","pages":[{"title":"Wallet actions","sidebarTitle":"Overview","href":"/wallets/actions/overview"},{"title":"Wallet action lifecycle","href":"/wallets/actions/lifecycle"},{"title":"Get wallet action status","href":"/wallets/actions/status"},{"title":"Set a reference ID","href":"/wallets/actions/reference-id"},{"title":"Webhooks","sidebarTitle":"Webhooks","href":"/wallets/actions/webhooks"}]},{"group":"Wallet automations","pages":[{"title":"Wallet automations","sidebarTitle":"Overview","href":"/wallets/automations/overview"},{"title":"Configure triggers and actions","sidebarTitle":"Configuration","href":"/wallets/automations/configuration"},{"title":"Create and attach an automation","href":"/wallets/automations/create-and-attach"},{"title":"Automate Earn deposits","href":"/wallets/automations/earn-deposits"},{"title":"Manage automations","href":"/wallets/automations/manage"},{"title":"Automation lifecycle","href":"/wallets/automations/lifecycle"},{"title":"Webhooks","sidebarTitle":"Webhooks","href":"/wallets/automations/webhooks"}]},{"group":"Signing and RPC","pages":[{"title":"Signing and RPCs","sidebarTitle":"Overview","href":"/wallets/using-wallets/rpc"},{"group":"Ethereum","pages":[{"title":"Send an Ethereum transaction","href":"/wallets/using-wallets/ethereum/send-a-transaction"},{"title":"Sign an Ethereum transaction","href":"/wallets/using-wallets/ethereum/sign-a-transaction"},{"title":null,"href":"/wallets/using-wallets/ethereum/sign-a-message"},{"title":"Sign typed data (EIP-712)","sidebarTitle":"Sign typed data (EIP-712)","href":"/wallets/using-wallets/ethereum/sign-typed-data"},{"title":null,"href":"/wallets/using-wallets/ethereum/sign-a-raw-hash"},{"title":"Sign EIP-7702 authorization","href":"/wallets/using-wallets/ethereum/sign-7702-authorization"},{"title":"Switch chains","href":"/wallets/using-wallets/ethereum/switch-chain"},{"title":null,"href":"/wallets/using-wallets/ethereum/ethereum-provider"},{"title":"Interfacing with common libraries","href":"/wallets/using-wallets/ethereum/web3-integrations"}]},{"group":"Solana","pages":[{"title":"Sign a Solana message","href":"/wallets/using-wallets/solana/sign-a-message"},{"title":"Send a Solana transaction","href":"/wallets/using-wallets/solana/send-a-transaction"},{"title":"Sign a Solana transaction","href":"/wallets/using-wallets/solana/sign-a-transaction"},{"title":"Integrating with @solana/web3.js","href":"/wallets/using-wallets/solana/web3-integrations"},{"title":"Integrating with @solana/kit","href":"/wallets/using-wallets/solana/kit-integrations"}]},{"group":"Tempo","pages":[{"title":"Send a Tempo transaction","href":"/wallets/using-wallets/tempo/send-a-transaction"},{"title":"Sign a Tempo transaction","href":"/wallets/using-wallets/tempo/sign-a-transaction"}]},{"group":"Tron","pages":[{"title":"Send a Tron transaction","href":"/wallets/using-wallets/tron/send-a-transaction"},{"title":"Sign a Tron transaction","href":"/wallets/using-wallets/tron/sign-a-transaction"}]},{"group":"Bitcoin","pages":[{"title":"Sign transaction inputs","sidebarTitle":"Sign transaction (TEE mode)","href":"/wallets/using-wallets/bitcoin/sign-transaction-inputs"},{"title":"Using Bitcoin with on-device execution","sidebarTitle":"Sign transaction (on-device mode)","href":"/wallets/using-wallets/bitcoin/using-bitcoin"}]},{"group":"XRPL","pages":[{"title":"Overview","href":"/wallets/using-wallets/xrpl/overview"}]},{"group":"Other chains","pages":[{"title":"Sui","href":"/wallets/using-wallets/other-chains/sui"},{"title":"Raw signing","href":"/wallets/using-wallets/other-chains/index"}]}]},{"group":"Intents","pages":[{"title":"Intents","sidebarTitle":"Overview","href":"/transaction-management/intents/overview"},{"group":"Propose an intent","pages":[{"title":"Transfer funds","sidebarTitle":"Transfer funds","href":"/transaction-management/intents/create/execute-transfer"},{"title":"Authorize a transaction","sidebarTitle":"Authorize a transaction","href":"/transaction-management/intents/create/execute-rpc"},{"title":"Update wallet","sidebarTitle":"Update wallet","href":"/transaction-management/intents/create/update-wallet"},{"title":"Update policy","sidebarTitle":"Update policy","href":"/transaction-management/intents/create/update-policy"},{"title":"Update policy rules","sidebarTitle":"Update policy rules","href":"/transaction-management/intents/create/update-policy-rules"},{"title":"Update key quorum","sidebarTitle":"Update key quorum","href":"/transaction-management/intents/create/update-key-quorum"}]},{"title":"Authorize intent","sidebarTitle":"Authorize intent","href":"/transaction-management/intents/sign-intents"},{"title":"Reject intent","sidebarTitle":"Reject intent","href":"/transaction-management/intents/reject-intents"},{"group":"Intent status","pages":[{"title":"Lifecycle of an intent","sidebarTitle":"Lifecycle","href":"/transaction-management/intents/lifecycle"},{"title":"Get intent by ID","sidebarTitle":"Get intent by ID","href":"/transaction-management/intents/fetch-intent"},{"title":"Intent webhooks","sidebarTitle":"Webhooks","href":"/transaction-management/intents/intent-webhooks"}]}]},{"group":"Transactions","pages":[{"title":"Set a reference ID","href":"/transaction-management/transactions/reference-id"},{"title":"Fetch transaction via webhook","href":"/wallets/gas-and-asset-management/assets/transaction-event-webhooks"},{"title":"Fetch transaction via API","description":"Get transaction details by ID using the Node.js SDK transactions interface","href":"/wallets/gas-and-asset-management/assets/fetch-a-transaction"},{"title":"List transactions","href":"/wallets/gas-and-asset-management/assets/list-transactions"}]}]},{"item":"Balances and webhooks","pages":[{"title":"Balances and webhooks","href":"/wallets/gas-and-asset-management/assets/overview"}]},{"item":"Gas and fee management","pages":[{"title":"Gas and fee management","href":"/wallets/gas-and-asset-management/gas/overview"}]}]},{"tab":"Financial flows","menu":[{"item":"Overview","pages":[{"title":"Overview","href":"/financial-flows/overview"}]},{"item":"Deposits","pages":[{"title":"Deposits","href":"/financial-flows/deposits/overview"}]},{"item":"Payouts","pages":[{"title":"Payouts","href":"/financial-flows/payouts/overview"}]},{"item":"Earn","pages":[{"title":"Earn","href":"/wallets/actions/earn/overview"}]},{"item":"Cards","pages":[{"title":"Cards","href":"/financial-flows/cards/overview"}]},{"item":"Trade","pages":[{"title":"Trade","href":"/wallets/actions/swap/overview"}]},{"item":"Monetization","pages":[{"title":"Monetization","href":"/financial-flows/monetization"}]},{"item":"Treasury management","pages":[{"title":"Treasury management","href":"/treasury-management/overview"}]},{"item":"Private transactions","pages":[{"title":"Private transactions","href":"/financial-flows/private-transactions"}]}],"pages":[{"title":"Financial flows","href":"/financial-flows/overview"}]},{"tab":"Controls and policies","menu":[{"item":"Controls","pages":[{"title":"Controls","href":"/controls/overview"}]},{"item":"Policies","pages":[{"title":"Policies","href":"/controls/policies/overview"}]},{"item":"Manual approvals","pages":[{"title":"Manual approvals","href":"/controls/dashboard/overview"}]}],"pages":[{"title":"Controls and policies","href":"/controls/overview"}]},{"tab":"Identity","menu":[{"item":"Authentication","pages":[{"title":"Authentication","href":"/authentication/overview"}]},{"item":"Users","pages":[{"title":"Users","href":"/user-management/users/overview"}]},{"item":"KYC and KYB","pages":[{"title":"KYC and KYB","href":"/kyc-kyb/overview"}]}],"pages":[{"title":"Identity","href":"/authentication/overview"}]},{"tab":"Security","pages":[{"title":"Security","href":"/security/overview"}]},{"tab":"Recipes","pages":[{"title":"Recipes","href":"/recipes/overview"}]},{"tab":"API reference","pages":[{"title":"API reference","href":"/api-reference/introduction"}]}]},"title":"List transactions - Privy Docs","buildId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","deploymentId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","dynamics":[],"chunks":[]}