├── .env.example ├── .eslintrc.js ├── .github ├── ISSUE_TEMPLATE │ ├── nextra-feedback.yml │ └── resource-hub-submission.yml ├── PULL_REQUEST_TEMPLATE.md ├── scripts │ ├── generateApiReference.ts │ ├── generateCodeExamples.ts │ ├── generateSupportedNetworks.ts │ ├── getResourcesOg.js │ ├── prepare_production_deployment.sh │ ├── s3_upload.sh │ └── validateResources.js ├── styles │ ├── Microsoft │ │ ├── AMPM.yml │ │ ├── Accessibility.yml │ │ ├── Acronyms.yml │ │ ├── Adverbs.yml │ │ ├── Auto.yml │ │ ├── Avoid.yml │ │ ├── ComplexWords.yml │ │ ├── Contractions.yml │ │ ├── Dashes.yml │ │ ├── DateFormat.yml │ │ ├── DateNumbers.yml │ │ ├── DateOrder.yml │ │ ├── Ellipses.yml │ │ ├── FirstPerson.yml │ │ ├── Foreign.yml │ │ ├── Gender.yml │ │ ├── GenderBias.yml │ │ ├── GeneralURL.yml │ │ ├── HeadingAcronyms.yml │ │ ├── HeadingColons.yml │ │ ├── HeadingPunctuation.yml │ │ ├── Headings.yml │ │ ├── Hyphens.yml │ │ ├── Negative.yml │ │ ├── Ordinal.yml │ │ ├── OxfordComma.yml │ │ ├── Passive.yml │ │ ├── Percentages.yml │ │ ├── Quotes.yml │ │ ├── RangeFormat.yml │ │ ├── RangeTime.yml │ │ ├── Ranges.yml │ │ ├── Semicolon.yml │ │ ├── SentenceLength.yml │ │ ├── Spacing.yml │ │ ├── Suspended.yml │ │ ├── Terms.yml │ │ ├── URLFormat.yml │ │ ├── Units.yml │ │ ├── Vocab.yml │ │ ├── We.yml │ │ ├── Wordiness.yml │ │ └── meta.json │ ├── config │ │ └── vocabularies │ │ │ └── default │ │ │ ├── accept.txt │ │ │ └── reject.txt │ └── write-good │ │ ├── Cliches.yml │ │ ├── E-Prime.yml │ │ ├── Illusions.yml │ │ ├── Passive.yml │ │ ├── README.md │ │ ├── So.yml │ │ ├── ThereIs.yml │ │ ├── TooWordy.yml │ │ ├── Weasel.yml │ │ └── meta.json └── workflows │ ├── deploy-release.yml │ ├── deploy.yml │ ├── generate-supported-networks.yml │ ├── link-check.yml │ ├── report-readability.yml │ ├── style-check.yml │ └── weekly-link-check.yml ├── .gitignore ├── .husky └── pre-push ├── .prettierrc ├── .vale.ini ├── .vscode ├── extensions.json └── settings.json ├── CONTRIBUTING.md ├── LICENSE.md ├── README.md ├── assets ├── add-chain-ui.png ├── add-custom-app.png ├── ai-agent-approve-transaction-1.png ├── ai-agent-approve-transaction-2.png ├── ai-agent-setup.png ├── core-brands.png ├── diagram-4337-execute.png ├── diagram-4337-validate.png ├── diagram-7579.png ├── diagram-7702-approach-1.png ├── diagram-7702-approach-2.png ├── diagram-7702-approach-3.png ├── diagram-fallback-handler.png ├── diagram-safe-7579.png ├── diagram-safe-apps.png ├── diagram-safe-core-protocol.png ├── diagram-safe-guards.png ├── diagram-safe-modules.png ├── diagram-safe-smart-account-proxy-creation.png ├── diagram-safe-smart-account-safe-components.png ├── diagram-safe-smart-accounts-architecture.png ├── diagram-services.png ├── diamond-bg.png ├── diamond-dev.png ├── german.png ├── louis.jpeg ├── monerium-sandbox-add-money.png ├── next.png ├── nuxt.png ├── react-native-passkeys-app-1.png ├── react-native-passkeys-app-2.png ├── react-native-passkeys-app-3.png ├── react-native-passkeys-app.gif ├── react-native-passkeys-play-store.png ├── safe-infrastructure-installation-config-service.png ├── safe-infrastructure-installation-configuration.png ├── safe-passkeys-app-1.png ├── safe-passkeys-app-2.png ├── safe-passkeys-app-3.png ├── safe-smart-accounts.png ├── safe-transaction-service.png ├── safenet-account.png ├── safenet-chains.png ├── safenet-highlevel-overview.png ├── safenet-introduction.png ├── safenet-protocol-overview.png ├── safenet-transaction-phases.png ├── side-bar-menu.png ├── stripe-kyc-address.png ├── stripe-kyc-payment-method.png ├── stripe-kyc-personal-info.png ├── svg │ ├── arrow-back.svg │ ├── arrow-outward.svg │ ├── blog-post.svg │ ├── building.svg │ ├── check-badge.svg │ ├── check.svg │ ├── chevron-down.svg │ ├── close.svg │ ├── code.svg │ ├── command-line.svg │ ├── cross.svg │ ├── demo.svg │ ├── discord-icon.svg │ ├── discord.svg │ ├── discourse-icon.svg │ ├── ellipse-1.svg │ ├── ellipse-2.svg │ ├── ellipse-3.svg │ ├── ellipse-4.svg │ ├── feedback-bad.svg │ ├── feedback-good.svg │ ├── feedback-ok.svg │ ├── filter.svg │ ├── gift.svg │ ├── github-icon.svg │ ├── guides.svg │ ├── hashtag.svg │ ├── ic-api.svg │ ├── ic-sdk.svg │ ├── ic-smart-account.svg │ ├── layers.svg │ ├── lock.svg │ ├── mirror-icon.svg │ ├── money.svg │ ├── people.svg │ ├── podcast.svg │ ├── reference.svg │ ├── report-bug.svg │ ├── safe-logo-white.svg │ ├── safe-logo.svg │ ├── scroll-to-top.svg │ ├── search.svg │ ├── stack-exchange.svg │ ├── teach.svg │ ├── trophy.svg │ ├── x-icon.svg │ └── youtube-icon.svg ├── tanay.png ├── transaction_service_architecture.png └── valle.jpg ├── components ├── ApiReference │ ├── ApiReference.tsx │ ├── Method.tsx │ ├── Network.tsx │ ├── Parameter.tsx │ ├── Path.tsx │ ├── Property.tsx │ ├── Response.tsx │ ├── SampleRequestHeader.tsx │ ├── TOC.tsx │ ├── examples │ │ ├── -v1-about--get.json │ │ ├── -v1-about-deployments--get.json │ │ ├── -v1-about-ethereum-rpc--get.json │ │ ├── -v1-about-ethereum-tracing-rpc--get.json │ │ ├── -v1-about-indexing--get.json │ │ ├── -v1-about-singletons--get.json │ │ ├── -v1-contracts--get.json │ │ ├── -v1-contracts-{address}--get.json │ │ ├── -v1-data-decoder--post.json │ │ ├── -v1-delegates--get.json │ │ ├── -v1-delegates--post.json │ │ ├── -v1-delegates-{delegate_address}--delete.json │ │ ├── -v1-messages-{message_hash}--get.json │ │ ├── -v1-messages-{message_hash}-signatures--post.json │ │ ├── -v1-module-transaction-{module_transaction_id}-get.json │ │ ├── -v1-modules-{address}-safes--get.json │ │ ├── -v1-multisig-transactions-{safe_tx_hash}--delete.json │ │ ├── -v1-multisig-transactions-{safe_tx_hash}--get.json │ │ ├── -v1-multisig-transactions-{safe_tx_hash}--post.json │ │ ├── -v1-multisig-transactions-{safe_tx_hash}-confirmations--get.json │ │ ├── -v1-multisig-transactions-{safe_tx_hash}-confirmations--post.json │ │ ├── -v1-notifications-devices-{uuid}--delete.json │ │ ├── -v1-notifications-devices-{uuid}-safes-{address}--delete.json │ │ ├── -v1-owners-{address}-safes--get.json │ │ ├── -v1-safe-operations-{safe_operation_hash}--get.json │ │ ├── -v1-safe-operations-{safe_operation_hash}-confirmations--get.json │ │ ├── -v1-safe-operations-{safe_operation_hash}-confirmations--post.json │ │ ├── -v1-safes-{address}--get.json │ │ ├── -v1-safes-{address}-all-transactions--get.json │ │ ├── -v1-safes-{address}-balances--get.json │ │ ├── -v1-safes-{address}-creation--get.json │ │ ├── -v1-safes-{address}-delegates-{delegate_address}--delete.json │ │ ├── -v1-safes-{address}-incoming-transfers--get.json │ │ ├── -v1-safes-{address}-messages--get.json │ │ ├── -v1-safes-{address}-messages--post.json │ │ ├── -v1-safes-{address}-module-transactions--get.json │ │ ├── -v1-safes-{address}-multisig-transactions--get.json │ │ ├── -v1-safes-{address}-multisig-transactions--post.json │ │ ├── -v1-safes-{address}-multisig-transactions-estimations--post.json │ │ ├── -v1-safes-{address}-safe-operations--get.json │ │ ├── -v1-safes-{address}-safe-operations--post.json │ │ ├── -v1-safes-{address}-transfers--get.json │ │ ├── -v1-safes-{address}-user-operations--get.json │ │ ├── -v1-tokens--get.json │ │ ├── -v1-tokens-{address}--get.json │ │ ├── -v1-transfer-{transfer_id}-get.json │ │ ├── -v1-user-operations-{user_operation_hash}--get.json │ │ ├── -v2-delegates--get.json │ │ ├── -v2-delegates--post.json │ │ ├── -v2-delegates-{delegate_address}--delete.json │ │ ├── -v2-safes-{address}-balances--get.json │ │ ├── -v2-safes-{address}-collectibles--get.json │ │ ├── arbitrum │ │ │ ├── -v1-about--get.ts │ │ │ ├── -v1-about-singletons--get.ts │ │ │ ├── -v1-contracts--get.ts │ │ │ ├── -v1-data-decoder--post.ts │ │ │ ├── -v1-messages-{message_hash}--get.ts │ │ │ ├── -v1-messages-{message_hash}-signatures--post.ts │ │ │ ├── -v1-modules-{address}-safes--get.ts │ │ │ ├── -v1-owners-{address}-safes--get.ts │ │ │ ├── -v1-safes-{address}--get.ts │ │ │ ├── -v1-safes-{address}-all-transactions--get.ts │ │ │ ├── -v1-safes-{address}-creation--get.ts │ │ │ ├── -v1-safes-{address}-messages--get.ts │ │ │ ├── -v1-safes-{address}-messages--post.ts │ │ │ ├── -v1-safes-{address}-module-transactions--get.ts │ │ │ ├── -v1-safes-{address}-multisig-transactions--get.ts │ │ │ ├── -v1-safes-{address}-multisig-transactions--post.ts │ │ │ ├── -v1-tokens--get.ts │ │ │ ├── -v1-tokens-{address}--get.ts │ │ │ ├── -v1-user-operations-{user_operation_hash}--get.ts │ │ │ ├── -v2-delegates--get.ts │ │ │ ├── -v2-delegates--post.ts │ │ │ └── -v2-delegates-{delegate_address}--delete.ts │ │ ├── aurora │ │ │ ├── -v1-about--get.ts │ │ │ ├── -v1-about-singletons--get.ts │ │ │ ├── -v1-contracts--get.ts │ │ │ ├── -v1-data-decoder--post.ts │ │ │ ├── -v1-messages-{message_hash}--get.ts │ │ │ ├── -v1-messages-{message_hash}-signatures--post.ts │ │ │ ├── -v1-modules-{address}-safes--get.ts │ │ │ ├── -v1-owners-{address}-safes--get.ts │ │ │ ├── -v1-safes-{address}--get.ts │ │ │ ├── -v1-safes-{address}-all-transactions--get.ts │ │ │ ├── -v1-safes-{address}-creation--get.ts │ │ │ ├── -v1-safes-{address}-messages--get.ts │ │ │ ├── -v1-safes-{address}-messages--post.ts │ │ │ ├── -v1-safes-{address}-module-transactions--get.ts │ │ │ ├── -v1-safes-{address}-multisig-transactions--get.ts │ │ │ ├── -v1-safes-{address}-multisig-transactions--post.ts │ │ │ ├── -v1-tokens--get.ts │ │ │ ├── -v1-tokens-{address}--get.ts │ │ │ ├── -v1-user-operations-{user_operation_hash}--get.ts │ │ │ ├── -v2-delegates--get.ts │ │ │ ├── -v2-delegates--post.ts │ │ │ └── -v2-delegates-{delegate_address}--delete.ts │ │ ├── avalanche │ │ │ ├── -v1-about--get.ts │ │ │ ├── -v1-about-singletons--get.ts │ │ │ ├── -v1-contracts--get.ts │ │ │ ├── -v1-data-decoder--post.ts │ │ │ ├── -v1-messages-{message_hash}--get.ts │ │ │ ├── -v1-messages-{message_hash}-signatures--post.ts │ │ │ ├── -v1-modules-{address}-safes--get.ts │ │ │ ├── -v1-owners-{address}-safes--get.ts │ │ │ ├── -v1-safes-{address}--get.ts │ │ │ ├── -v1-safes-{address}-all-transactions--get.ts │ │ │ ├── -v1-safes-{address}-creation--get.ts │ │ │ ├── -v1-safes-{address}-messages--get.ts │ │ │ ├── -v1-safes-{address}-messages--post.ts │ │ │ ├── -v1-safes-{address}-module-transactions--get.ts │ │ │ ├── -v1-safes-{address}-multisig-transactions--get.ts │ │ │ ├── -v1-safes-{address}-multisig-transactions--post.ts │ │ │ ├── -v1-tokens--get.ts │ │ │ ├── -v1-tokens-{address}--get.ts │ │ │ ├── -v1-user-operations-{user_operation_hash}--get.ts │ │ │ ├── -v2-delegates--get.ts │ │ │ ├── -v2-delegates--post.ts │ │ │ └── -v2-delegates-{delegate_address}--delete.ts │ │ ├── base-sepolia │ │ │ ├── -v1-about--get.ts │ │ │ ├── -v1-about-singletons--get.ts │ │ │ ├── -v1-contracts--get.ts │ │ │ ├── -v1-data-decoder--post.ts │ │ │ ├── -v1-messages-{message_hash}--get.ts │ │ │ ├── -v1-messages-{message_hash}-signatures--post.ts │ │ │ ├── -v1-modules-{address}-safes--get.ts │ │ │ ├── -v1-owners-{address}-safes--get.ts │ │ │ ├── -v1-safes-{address}--get.ts │ │ │ ├── -v1-safes-{address}-all-transactions--get.ts │ │ │ ├── -v1-safes-{address}-creation--get.ts │ │ │ ├── -v1-safes-{address}-messages--get.ts │ │ │ ├── -v1-safes-{address}-messages--post.ts │ │ │ ├── -v1-safes-{address}-module-transactions--get.ts │ │ │ ├── -v1-safes-{address}-multisig-transactions--get.ts │ │ │ ├── -v1-safes-{address}-multisig-transactions--post.ts │ │ │ ├── -v1-tokens--get.ts │ │ │ ├── -v1-tokens-{address}--get.ts │ │ │ ├── -v1-user-operations-{user_operation_hash}--get.ts │ │ │ ├── -v2-delegates--get.ts │ │ │ ├── -v2-delegates--post.ts │ │ │ └── -v2-delegates-{delegate_address}--delete.ts │ │ ├── base │ │ │ ├── -v1-about--get.ts │ │ │ ├── -v1-about-singletons--get.ts │ │ │ ├── -v1-contracts--get.ts │ │ │ ├── -v1-data-decoder--post.ts │ │ │ ├── -v1-messages-{message_hash}--get.ts │ │ │ ├── -v1-messages-{message_hash}-signatures--post.ts │ │ │ ├── -v1-modules-{address}-safes--get.ts │ │ │ ├── -v1-owners-{address}-safes--get.ts │ │ │ ├── -v1-safes-{address}--get.ts │ │ │ ├── -v1-safes-{address}-all-transactions--get.ts │ │ │ ├── -v1-safes-{address}-creation--get.ts │ │ │ ├── -v1-safes-{address}-messages--get.ts │ │ │ ├── -v1-safes-{address}-messages--post.ts │ │ │ ├── -v1-safes-{address}-module-transactions--get.ts │ │ │ ├── -v1-safes-{address}-multisig-transactions--get.ts │ │ │ ├── -v1-safes-{address}-multisig-transactions--post.ts │ │ │ ├── -v1-tokens--get.ts │ │ │ ├── -v1-tokens-{address}--get.ts │ │ │ ├── -v1-user-operations-{user_operation_hash}--get.ts │ │ │ ├── -v2-delegates--get.ts │ │ │ ├── -v2-delegates--post.ts │ │ │ └── -v2-delegates-{delegate_address}--delete.ts │ │ ├── blast │ │ │ ├── -v1-about--get.ts │ │ │ ├── -v1-about-singletons--get.ts │ │ │ ├── -v1-contracts--get.ts │ │ │ ├── -v1-data-decoder--post.ts │ │ │ ├── -v1-messages-{message_hash}--get.ts │ │ │ ├── -v1-messages-{message_hash}-signatures--post.ts │ │ │ ├── -v1-modules-{address}-safes--get.ts │ │ │ ├── -v1-owners-{address}-safes--get.ts │ │ │ ├── -v1-safes-{address}--get.ts │ │ │ ├── -v1-safes-{address}-all-transactions--get.ts │ │ │ ├── -v1-safes-{address}-creation--get.ts │ │ │ ├── -v1-safes-{address}-messages--get.ts │ │ │ ├── -v1-safes-{address}-messages--post.ts │ │ │ ├── -v1-safes-{address}-module-transactions--get.ts │ │ │ ├── -v1-safes-{address}-multisig-transactions--get.ts │ │ │ ├── -v1-safes-{address}-multisig-transactions--post.ts │ │ │ ├── -v1-tokens--get.ts │ │ │ ├── -v1-tokens-{address}--get.ts │ │ │ ├── -v1-user-operations-{user_operation_hash}--get.ts │ │ │ ├── -v2-delegates--get.ts │ │ │ ├── -v2-delegates--post.ts │ │ │ └── -v2-delegates-{delegate_address}--delete.ts │ │ ├── bsc │ │ │ ├── -v1-about--get.ts │ │ │ ├── -v1-about-singletons--get.ts │ │ │ ├── -v1-contracts--get.ts │ │ │ ├── -v1-data-decoder--post.ts │ │ │ ├── -v1-messages-{message_hash}--get.ts │ │ │ ├── -v1-messages-{message_hash}-signatures--post.ts │ │ │ ├── -v1-modules-{address}-safes--get.ts │ │ │ ├── -v1-owners-{address}-safes--get.ts │ │ │ ├── -v1-safes-{address}--get.ts │ │ │ ├── -v1-safes-{address}-all-transactions--get.ts │ │ │ ├── -v1-safes-{address}-creation--get.ts │ │ │ ├── -v1-safes-{address}-messages--get.ts │ │ │ ├── -v1-safes-{address}-messages--post.ts │ │ │ ├── -v1-safes-{address}-module-transactions--get.ts │ │ │ ├── -v1-safes-{address}-multisig-transactions--get.ts │ │ │ ├── -v1-safes-{address}-multisig-transactions--post.ts │ │ │ ├── -v1-tokens--get.ts │ │ │ ├── -v1-tokens-{address}--get.ts │ │ │ ├── -v1-user-operations-{user_operation_hash}--get.ts │ │ │ ├── -v2-delegates--get.ts │ │ │ ├── -v2-delegates--post.ts │ │ │ └── -v2-delegates-{delegate_address}--delete.ts │ │ ├── celo │ │ │ ├── -v1-about--get.ts │ │ │ ├── -v1-about-singletons--get.ts │ │ │ ├── -v1-contracts--get.ts │ │ │ ├── -v1-data-decoder--post.ts │ │ │ ├── -v1-messages-{message_hash}--get.ts │ │ │ ├── -v1-messages-{message_hash}-signatures--post.ts │ │ │ ├── -v1-modules-{address}-safes--get.ts │ │ │ ├── -v1-owners-{address}-safes--get.ts │ │ │ ├── -v1-safes-{address}--get.ts │ │ │ ├── -v1-safes-{address}-all-transactions--get.ts │ │ │ ├── -v1-safes-{address}-creation--get.ts │ │ │ ├── -v1-safes-{address}-messages--get.ts │ │ │ ├── -v1-safes-{address}-messages--post.ts │ │ │ ├── -v1-safes-{address}-module-transactions--get.ts │ │ │ ├── -v1-safes-{address}-multisig-transactions--get.ts │ │ │ ├── -v1-safes-{address}-multisig-transactions--post.ts │ │ │ ├── -v1-tokens--get.ts │ │ │ ├── -v1-tokens-{address}--get.ts │ │ │ ├── -v1-user-operations-{user_operation_hash}--get.ts │ │ │ ├── -v2-delegates--get.ts │ │ │ ├── -v2-delegates--post.ts │ │ │ └── -v2-delegates-{delegate_address}--delete.ts │ │ ├── chiado │ │ │ ├── -v1-about--get.ts │ │ │ ├── -v1-about-singletons--get.ts │ │ │ ├── -v1-contracts--get.ts │ │ │ ├── -v1-data-decoder--post.ts │ │ │ ├── -v1-messages-{message_hash}--get.ts │ │ │ ├── -v1-messages-{message_hash}-signatures--post.ts │ │ │ ├── -v1-modules-{address}-safes--get.ts │ │ │ ├── -v1-owners-{address}-safes--get.ts │ │ │ ├── -v1-safes-{address}--get.ts │ │ │ ├── -v1-safes-{address}-all-transactions--get.ts │ │ │ ├── -v1-safes-{address}-creation--get.ts │ │ │ ├── -v1-safes-{address}-messages--get.ts │ │ │ ├── -v1-safes-{address}-messages--post.ts │ │ │ ├── -v1-safes-{address}-module-transactions--get.ts │ │ │ ├── -v1-safes-{address}-multisig-transactions--get.ts │ │ │ ├── -v1-safes-{address}-multisig-transactions--post.ts │ │ │ ├── -v1-tokens--get.ts │ │ │ ├── -v1-tokens-{address}--get.ts │ │ │ ├── -v1-user-operations-{user_operation_hash}--get.ts │ │ │ ├── -v2-delegates--get.ts │ │ │ ├── -v2-delegates--post.ts │ │ │ └── -v2-delegates-{delegate_address}--delete.ts │ │ ├── gnosis-chain │ │ │ ├── -v1-about--get.ts │ │ │ ├── -v1-about-singletons--get.ts │ │ │ ├── -v1-contracts--get.ts │ │ │ ├── -v1-data-decoder--post.ts │ │ │ ├── -v1-messages-{message_hash}--get.ts │ │ │ ├── -v1-messages-{message_hash}-signatures--post.ts │ │ │ ├── -v1-modules-{address}-safes--get.ts │ │ │ ├── -v1-owners-{address}-safes--get.ts │ │ │ ├── -v1-safes-{address}--get.ts │ │ │ ├── -v1-safes-{address}-all-transactions--get.ts │ │ │ ├── -v1-safes-{address}-creation--get.ts │ │ │ ├── -v1-safes-{address}-messages--get.ts │ │ │ ├── -v1-safes-{address}-messages--post.ts │ │ │ ├── -v1-safes-{address}-module-transactions--get.ts │ │ │ ├── -v1-safes-{address}-multisig-transactions--get.ts │ │ │ ├── -v1-safes-{address}-multisig-transactions--post.ts │ │ │ ├── -v1-tokens--get.ts │ │ │ ├── -v1-tokens-{address}--get.ts │ │ │ ├── -v1-user-operations-{user_operation_hash}--get.ts │ │ │ ├── -v2-delegates--get.ts │ │ │ ├── -v2-delegates--post.ts │ │ │ └── -v2-delegates-{delegate_address}--delete.ts │ │ ├── linea │ │ │ ├── -v1-about--get.ts │ │ │ ├── -v1-about-singletons--get.ts │ │ │ ├── -v1-contracts--get.ts │ │ │ ├── -v1-data-decoder--post.ts │ │ │ ├── -v1-messages-{message_hash}--get.ts │ │ │ ├── -v1-messages-{message_hash}-signatures--post.ts │ │ │ ├── -v1-modules-{address}-safes--get.ts │ │ │ ├── -v1-owners-{address}-safes--get.ts │ │ │ ├── -v1-safes-{address}--get.ts │ │ │ ├── -v1-safes-{address}-all-transactions--get.ts │ │ │ ├── -v1-safes-{address}-creation--get.ts │ │ │ ├── -v1-safes-{address}-messages--get.ts │ │ │ ├── -v1-safes-{address}-messages--post.ts │ │ │ ├── -v1-safes-{address}-module-transactions--get.ts │ │ │ ├── -v1-safes-{address}-multisig-transactions--get.ts │ │ │ ├── -v1-safes-{address}-multisig-transactions--post.ts │ │ │ ├── -v1-tokens--get.ts │ │ │ ├── -v1-tokens-{address}--get.ts │ │ │ ├── -v1-user-operations-{user_operation_hash}--get.ts │ │ │ ├── -v2-delegates--get.ts │ │ │ ├── -v2-delegates--post.ts │ │ │ └── -v2-delegates-{delegate_address}--delete.ts │ │ ├── mainnet │ │ │ ├── -v1-about--get.ts │ │ │ ├── -v1-about-singletons--get.ts │ │ │ ├── -v1-contracts--get.ts │ │ │ ├── -v1-data-decoder--post.ts │ │ │ ├── -v1-messages-{message_hash}--get.ts │ │ │ ├── -v1-messages-{message_hash}-signatures--post.ts │ │ │ ├── -v1-modules-{address}-safes--get.ts │ │ │ ├── -v1-owners-{address}-safes--get.ts │ │ │ ├── -v1-safes-{address}--get.ts │ │ │ ├── -v1-safes-{address}-all-transactions--get.ts │ │ │ ├── -v1-safes-{address}-creation--get.ts │ │ │ ├── -v1-safes-{address}-messages--get.ts │ │ │ ├── -v1-safes-{address}-messages--post.ts │ │ │ ├── -v1-safes-{address}-module-transactions--get.ts │ │ │ ├── -v1-safes-{address}-multisig-transactions--get.ts │ │ │ ├── -v1-safes-{address}-multisig-transactions--post.ts │ │ │ ├── -v1-tokens--get.ts │ │ │ ├── -v1-tokens-{address}--get.ts │ │ │ ├── -v1-user-operations-{user_operation_hash}--get.ts │ │ │ ├── -v2-delegates--get.ts │ │ │ ├── -v2-delegates--post.ts │ │ │ └── -v2-delegates-{delegate_address}--delete.ts │ │ ├── mantle │ │ │ ├── -v1-about--get.ts │ │ │ ├── -v1-about-singletons--get.ts │ │ │ ├── -v1-contracts--get.ts │ │ │ ├── -v1-data-decoder--post.ts │ │ │ ├── -v1-messages-{message_hash}--get.ts │ │ │ ├── -v1-messages-{message_hash}-signatures--post.ts │ │ │ ├── -v1-modules-{address}-safes--get.ts │ │ │ ├── -v1-owners-{address}-safes--get.ts │ │ │ ├── -v1-safes-{address}--get.ts │ │ │ ├── -v1-safes-{address}-all-transactions--get.ts │ │ │ ├── -v1-safes-{address}-creation--get.ts │ │ │ ├── -v1-safes-{address}-messages--get.ts │ │ │ ├── -v1-safes-{address}-messages--post.ts │ │ │ ├── -v1-safes-{address}-module-transactions--get.ts │ │ │ ├── -v1-safes-{address}-multisig-transactions--get.ts │ │ │ ├── -v1-safes-{address}-multisig-transactions--post.ts │ │ │ ├── -v1-tokens--get.ts │ │ │ ├── -v1-tokens-{address}--get.ts │ │ │ ├── -v1-user-operations-{user_operation_hash}--get.ts │ │ │ ├── -v2-delegates--get.ts │ │ │ ├── -v2-delegates--post.ts │ │ │ └── -v2-delegates-{delegate_address}--delete.ts │ │ ├── optimism │ │ │ ├── -v1-about--get.ts │ │ │ ├── -v1-about-singletons--get.ts │ │ │ ├── -v1-contracts--get.ts │ │ │ ├── -v1-data-decoder--post.ts │ │ │ ├── -v1-messages-{message_hash}--get.ts │ │ │ ├── -v1-messages-{message_hash}-signatures--post.ts │ │ │ ├── -v1-modules-{address}-safes--get.ts │ │ │ ├── -v1-owners-{address}-safes--get.ts │ │ │ ├── -v1-safes-{address}--get.ts │ │ │ ├── -v1-safes-{address}-all-transactions--get.ts │ │ │ ├── -v1-safes-{address}-creation--get.ts │ │ │ ├── -v1-safes-{address}-messages--get.ts │ │ │ ├── -v1-safes-{address}-messages--post.ts │ │ │ ├── -v1-safes-{address}-module-transactions--get.ts │ │ │ ├── -v1-safes-{address}-multisig-transactions--get.ts │ │ │ ├── -v1-safes-{address}-multisig-transactions--post.ts │ │ │ ├── -v1-tokens--get.ts │ │ │ ├── -v1-tokens-{address}--get.ts │ │ │ ├── -v1-user-operations-{user_operation_hash}--get.ts │ │ │ ├── -v2-delegates--get.ts │ │ │ ├── -v2-delegates--post.ts │ │ │ └── -v2-delegates-{delegate_address}--delete.ts │ │ ├── polygon │ │ │ ├── -v1-about--get.ts │ │ │ ├── -v1-about-singletons--get.ts │ │ │ ├── -v1-contracts--get.ts │ │ │ ├── -v1-data-decoder--post.ts │ │ │ ├── -v1-messages-{message_hash}--get.ts │ │ │ ├── -v1-messages-{message_hash}-signatures--post.ts │ │ │ ├── -v1-modules-{address}-safes--get.ts │ │ │ ├── -v1-owners-{address}-safes--get.ts │ │ │ ├── -v1-safes-{address}--get.ts │ │ │ ├── -v1-safes-{address}-all-transactions--get.ts │ │ │ ├── -v1-safes-{address}-creation--get.ts │ │ │ ├── -v1-safes-{address}-messages--get.ts │ │ │ ├── -v1-safes-{address}-messages--post.ts │ │ │ ├── -v1-safes-{address}-module-transactions--get.ts │ │ │ ├── -v1-safes-{address}-multisig-transactions--get.ts │ │ │ ├── -v1-safes-{address}-multisig-transactions--post.ts │ │ │ ├── -v1-tokens--get.ts │ │ │ ├── -v1-tokens-{address}--get.ts │ │ │ ├── -v1-user-operations-{user_operation_hash}--get.ts │ │ │ ├── -v2-delegates--get.ts │ │ │ ├── -v2-delegates--post.ts │ │ │ └── -v2-delegates-{delegate_address}--delete.ts │ │ ├── scroll │ │ │ ├── -v1-about--get.ts │ │ │ ├── -v1-about-singletons--get.ts │ │ │ ├── -v1-contracts--get.ts │ │ │ ├── -v1-data-decoder--post.ts │ │ │ ├── -v1-messages-{message_hash}--get.ts │ │ │ ├── -v1-messages-{message_hash}-signatures--post.ts │ │ │ ├── -v1-modules-{address}-safes--get.ts │ │ │ ├── -v1-owners-{address}-safes--get.ts │ │ │ ├── -v1-safes-{address}--get.ts │ │ │ ├── -v1-safes-{address}-all-transactions--get.ts │ │ │ ├── -v1-safes-{address}-creation--get.ts │ │ │ ├── -v1-safes-{address}-messages--get.ts │ │ │ ├── -v1-safes-{address}-messages--post.ts │ │ │ ├── -v1-safes-{address}-module-transactions--get.ts │ │ │ ├── -v1-safes-{address}-multisig-transactions--get.ts │ │ │ ├── -v1-safes-{address}-multisig-transactions--post.ts │ │ │ ├── -v1-tokens--get.ts │ │ │ ├── -v1-tokens-{address}--get.ts │ │ │ ├── -v1-user-operations-{user_operation_hash}--get.ts │ │ │ ├── -v2-delegates--get.ts │ │ │ ├── -v2-delegates--post.ts │ │ │ └── -v2-delegates-{delegate_address}--delete.ts │ │ ├── sepolia │ │ │ ├── -v1-about--get.ts │ │ │ ├── -v1-about-singletons--get.ts │ │ │ ├── -v1-contracts--get.ts │ │ │ ├── -v1-data-decoder--post.ts │ │ │ ├── -v1-messages-{message_hash}--get.ts │ │ │ ├── -v1-messages-{message_hash}-signatures--post.ts │ │ │ ├── -v1-modules-{address}-safes--get.ts │ │ │ ├── -v1-owners-{address}-safes--get.ts │ │ │ ├── -v1-safes-{address}--get.ts │ │ │ ├── -v1-safes-{address}-all-transactions--get.ts │ │ │ ├── -v1-safes-{address}-creation--get.ts │ │ │ ├── -v1-safes-{address}-messages--get.ts │ │ │ ├── -v1-safes-{address}-messages--post.ts │ │ │ ├── -v1-safes-{address}-module-transactions--get.ts │ │ │ ├── -v1-safes-{address}-multisig-transactions--get.ts │ │ │ ├── -v1-safes-{address}-multisig-transactions--post.ts │ │ │ ├── -v1-tokens--get.ts │ │ │ ├── -v1-tokens-{address}--get.ts │ │ │ ├── -v1-user-operations-{user_operation_hash}--get.ts │ │ │ ├── -v2-delegates--get.ts │ │ │ ├── -v2-delegates--post.ts │ │ │ └── -v2-delegates-{delegate_address}--delete.ts │ │ ├── worldchain │ │ │ ├── -v1-about--get.ts │ │ │ ├── -v1-about-singletons--get.ts │ │ │ ├── -v1-contracts--get.ts │ │ │ ├── -v1-data-decoder--post.ts │ │ │ ├── -v1-messages-{message_hash}--get.ts │ │ │ ├── -v1-messages-{message_hash}-signatures--post.ts │ │ │ ├── -v1-modules-{address}-safes--get.ts │ │ │ ├── -v1-owners-{address}-safes--get.ts │ │ │ ├── -v1-safes-{address}--get.ts │ │ │ ├── -v1-safes-{address}-all-transactions--get.ts │ │ │ ├── -v1-safes-{address}-creation--get.ts │ │ │ ├── -v1-safes-{address}-messages--get.ts │ │ │ ├── -v1-safes-{address}-messages--post.ts │ │ │ ├── -v1-safes-{address}-module-transactions--get.ts │ │ │ ├── -v1-safes-{address}-multisig-transactions--get.ts │ │ │ ├── -v1-safes-{address}-multisig-transactions--post.ts │ │ │ ├── -v1-tokens--get.ts │ │ │ ├── -v1-tokens-{address}--get.ts │ │ │ ├── -v1-user-operations-{user_operation_hash}--get.ts │ │ │ ├── -v2-delegates--get.ts │ │ │ ├── -v2-delegates--post.ts │ │ │ └── -v2-delegates-{delegate_address}--delete.ts │ │ ├── xlayer │ │ │ ├── -v1-about--get.ts │ │ │ ├── -v1-about-singletons--get.ts │ │ │ ├── -v1-contracts--get.ts │ │ │ ├── -v1-data-decoder--post.ts │ │ │ ├── -v1-messages-{message_hash}--get.ts │ │ │ ├── -v1-messages-{message_hash}-signatures--post.ts │ │ │ ├── -v1-modules-{address}-safes--get.ts │ │ │ ├── -v1-owners-{address}-safes--get.ts │ │ │ ├── -v1-safes-{address}--get.ts │ │ │ ├── -v1-safes-{address}-all-transactions--get.ts │ │ │ ├── -v1-safes-{address}-creation--get.ts │ │ │ ├── -v1-safes-{address}-messages--get.ts │ │ │ ├── -v1-safes-{address}-messages--post.ts │ │ │ ├── -v1-safes-{address}-module-transactions--get.ts │ │ │ ├── -v1-safes-{address}-multisig-transactions--get.ts │ │ │ ├── -v1-safes-{address}-multisig-transactions--post.ts │ │ │ ├── -v1-tokens--get.ts │ │ │ ├── -v1-tokens-{address}--get.ts │ │ │ ├── -v1-user-operations-{user_operation_hash}--get.ts │ │ │ ├── -v2-delegates--get.ts │ │ │ ├── -v2-delegates--post.ts │ │ │ └── -v2-delegates-{delegate_address}--delete.ts │ │ ├── zkevm │ │ │ ├── -v1-about--get.ts │ │ │ ├── -v1-about-singletons--get.ts │ │ │ ├── -v1-contracts--get.ts │ │ │ ├── -v1-data-decoder--post.ts │ │ │ ├── -v1-messages-{message_hash}--get.ts │ │ │ ├── -v1-messages-{message_hash}-signatures--post.ts │ │ │ ├── -v1-modules-{address}-safes--get.ts │ │ │ ├── -v1-owners-{address}-safes--get.ts │ │ │ ├── -v1-safes-{address}--get.ts │ │ │ ├── -v1-safes-{address}-all-transactions--get.ts │ │ │ ├── -v1-safes-{address}-creation--get.ts │ │ │ ├── -v1-safes-{address}-messages--get.ts │ │ │ ├── -v1-safes-{address}-messages--post.ts │ │ │ ├── -v1-safes-{address}-module-transactions--get.ts │ │ │ ├── -v1-safes-{address}-multisig-transactions--get.ts │ │ │ ├── -v1-safes-{address}-multisig-transactions--post.ts │ │ │ ├── -v1-tokens--get.ts │ │ │ ├── -v1-tokens-{address}--get.ts │ │ │ ├── -v1-user-operations-{user_operation_hash}--get.ts │ │ │ ├── -v2-delegates--get.ts │ │ │ ├── -v2-delegates--post.ts │ │ │ └── -v2-delegates-{delegate_address}--delete.ts │ │ └── zksync │ │ │ ├── -v1-about--get.ts │ │ │ ├── -v1-about-singletons--get.ts │ │ │ ├── -v1-contracts--get.ts │ │ │ ├── -v1-data-decoder--post.ts │ │ │ ├── -v1-messages-{message_hash}--get.ts │ │ │ ├── -v1-messages-{message_hash}-signatures--post.ts │ │ │ ├── -v1-modules-{address}-safes--get.ts │ │ │ ├── -v1-owners-{address}-safes--get.ts │ │ │ ├── -v1-safes-{address}--get.ts │ │ │ ├── -v1-safes-{address}-all-transactions--get.ts │ │ │ ├── -v1-safes-{address}-creation--get.ts │ │ │ ├── -v1-safes-{address}-messages--get.ts │ │ │ ├── -v1-safes-{address}-messages--post.ts │ │ │ ├── -v1-safes-{address}-module-transactions--get.ts │ │ │ ├── -v1-safes-{address}-multisig-transactions--get.ts │ │ │ ├── -v1-safes-{address}-multisig-transactions--post.ts │ │ │ ├── -v1-tokens--get.ts │ │ │ ├── -v1-tokens-{address}--get.ts │ │ │ ├── -v1-user-operations-{user_operation_hash}--get.ts │ │ │ ├── -v2-delegates--get.ts │ │ │ ├── -v2-delegates--post.ts │ │ │ └── -v2-delegates-{delegate_address}--delete.ts │ ├── generated │ │ ├── arbitrum-reference.mdx │ │ ├── aurora-reference.mdx │ │ ├── avalanche-reference.mdx │ │ ├── base-reference.mdx │ │ ├── base-sepolia-reference.mdx │ │ ├── blast-reference.mdx │ │ ├── bsc-reference.mdx │ │ ├── celo-reference.mdx │ │ ├── chiado-reference.mdx │ │ ├── gnosis-chain-reference.mdx │ │ ├── linea-reference.mdx │ │ ├── mainnet-reference.mdx │ │ ├── mantle-reference.mdx │ │ ├── optimism-reference.mdx │ │ ├── polygon-reference.mdx │ │ ├── scroll-reference.mdx │ │ ├── sepolia-reference.mdx │ │ ├── worldchain-reference.mdx │ │ ├── xlayer-reference.mdx │ │ ├── zkevm-reference.mdx │ │ └── zksync-reference.mdx │ ├── index.tsx │ ├── mainnet-swagger.json │ ├── paths-metadata.json │ ├── schemas │ │ ├── arbitrum-swagger.json │ │ ├── aurora-swagger.json │ │ ├── avalanche-swagger.json │ │ ├── base-sepolia-swagger.json │ │ ├── base-swagger.json │ │ ├── blast-swagger.json │ │ ├── bsc-swagger.json │ │ ├── celo-swagger.json │ │ ├── chiado-swagger.json │ │ ├── gnosis-chain-swagger.json │ │ ├── linea-swagger.json │ │ ├── mainnet-swagger.json │ │ ├── mantle-swagger.json │ │ ├── optimism-swagger.json │ │ ├── polygon-swagger.json │ │ ├── scroll-swagger.json │ │ ├── sepolia-swagger.json │ │ ├── worldchain-swagger.json │ │ ├── xlayer-swagger.json │ │ ├── zkevm-swagger.json │ │ └── zksync-swagger.json │ ├── styles.module.css │ └── tx-service-networks.json ├── CookieBanner │ ├── CookieBannerContext.tsx │ ├── index.tsx │ └── styles.module.css ├── CustomCard │ ├── index.tsx │ └── styles.module.css ├── Events │ ├── Bounty.tsx │ ├── Events.tsx │ ├── FAQ.tsx │ ├── Survey.tsx │ ├── TeamMember.tsx │ ├── Workshop.tsx │ ├── event-data.json │ ├── index.tsx │ ├── styles.module.css │ └── types.ts ├── Feedback │ └── index.tsx ├── Footer │ ├── Footer.module.css │ ├── index.tsx │ └── useOpenPositions.ts ├── Hr.tsx ├── Loader.tsx ├── MetaTags │ └── index.tsx ├── RemovedContentCallout │ └── index.tsx ├── ResourceHub │ ├── Card.tsx │ ├── Resources.tsx │ ├── SidebarAccordion.tsx │ ├── community-resources.json │ ├── company-resources.json │ ├── index.tsx │ ├── styles.module.css │ └── useResourceSearch.ts ├── SupportedNetworks │ ├── Card.tsx │ ├── NetworkModal.tsx │ ├── Networks.tsx │ ├── SidebarAccordion.tsx │ ├── index.tsx │ ├── networks.json │ ├── styles.module.css │ ├── useNetworksSearch.ts │ └── utils.ts ├── YouTube │ ├── Youtube.module.css │ └── index.tsx └── callouts │ ├── ModuleCallout.mdx │ └── OnlySafeTxCallout.mdx ├── cypress.config.ts ├── examples ├── ai-agent │ ├── .env.example │ ├── agent.ts │ └── tools │ │ ├── math.ts │ │ ├── prices.ts │ │ └── safe.ts ├── passkeys-vue │ ├── app.vue │ ├── components │ │ ├── LoginWithPasskey.vue │ │ └── SafeAccountDetails.vue │ ├── layouts │ │ └── default.vue │ ├── nuxt.config.ts │ ├── stores │ │ └── safe.ts │ └── utils │ │ ├── constants.ts │ │ ├── mintNFT.ts │ │ └── passkeys.ts ├── passkeys │ ├── app │ │ ├── globals.css │ │ ├── layout.tsx │ │ └── page.tsx │ ├── components │ │ ├── LoginWithPasskey.tsx │ │ ├── SafeAccountDetails.tsx │ │ └── SafeThemeProvider.tsx │ ├── lib │ │ ├── constants.ts │ │ ├── mintNFT.ts │ │ └── passkeys.ts │ └── next.config.mjs └── react-native-passkeys │ ├── .env-sample │ ├── App.tsx │ ├── app.json │ └── lib │ ├── passkeys.ts │ ├── safe.ts │ └── storage.ts ├── lib ├── mdx.tsx └── storage │ └── index.ts ├── linkchecker-config.json ├── mdx.d.ts ├── next-env.d.ts ├── next.config.js ├── package.json ├── pages ├── 404.md ├── _app.tsx ├── _document.tsx ├── _meta.json ├── advanced │ ├── _meta.json │ ├── cli-demos.mdx │ ├── cli-guides │ │ ├── _meta.json │ │ └── recovery-safe-deployment.mdx │ ├── cli-installation.mdx │ ├── cli-overview.mdx │ ├── cli-reference.mdx │ ├── cli-reference │ │ ├── _meta.json │ │ ├── common-commands.mdx │ │ ├── tx-service-commands.mdx │ │ └── unattended-commands.mdx │ ├── eip-7702 │ │ ├── 7702-safe.mdx │ │ ├── _meta.json │ │ └── overview.mdx │ ├── erc-4337 │ │ ├── 4337-safe.mdx │ │ ├── _meta.json │ │ ├── guides │ │ │ ├── _meta.json │ │ │ ├── permissionless-detailed.mdx │ │ │ ├── permissionless-quickstart.mdx │ │ │ └── safe-sdk.mdx │ │ └── overview.mdx │ ├── erc-7579 │ │ ├── 7579-safe.mdx │ │ ├── _meta.json │ │ ├── developer-tooling.mdx │ │ ├── overview.mdx │ │ └── tutorials │ │ │ ├── 7579-tutorial.mdx │ │ │ └── _meta.json │ ├── passkeys │ │ ├── _meta.json │ │ ├── overview.mdx │ │ ├── passkeys-safe.mdx │ │ └── tutorials │ │ │ ├── _meta.json │ │ │ ├── nuxt.mdx │ │ │ ├── react-native.mdx │ │ │ └── react.mdx │ ├── smart-account-audits.md │ ├── smart-account-bug-bounty.md │ ├── smart-account-bug-bounty │ │ └── past-paid-bounties.md │ ├── smart-account-concepts.mdx │ ├── smart-account-fallback-handler.mdx │ ├── smart-account-fallback-handler │ │ └── smart-account-fallback-handler-tutorial.mdx │ ├── smart-account-guards.mdx │ ├── smart-account-guards │ │ └── smart-account-guard-tutorial.mdx │ ├── smart-account-migration.mdx │ ├── smart-account-modules.mdx │ ├── smart-account-modules │ │ └── smart-account-modules-tutorial.mdx │ ├── smart-account-multi-chain-deployment.mdx │ ├── smart-account-overview.mdx │ ├── smart-account-signatures.md │ └── smart-account-supported-networks.mdx ├── build-the-new-internet.mdx ├── config-service-configuration │ ├── _meta.json │ ├── add-or-edit-chain.mdx │ ├── add-or-edit-client.mdx │ ├── add-or-edit-feature.mdx │ ├── add-or-edit-gas-price.mdx │ ├── add-or-edit-group.mdx │ ├── add-or-edit-provider.mdx │ ├── add-or-edit-safe-app-feature.mdx │ ├── add-or-edit-safe-app.mdx │ ├── add-or-edit-social-profile.mdx │ ├── add-or-edit-tag.mdx │ ├── add-or-edit-wallet.mdx │ ├── add-user.mdx │ ├── edit-user.mdx │ └── overview.mdx ├── core-api │ ├── _meta.json │ ├── api-overview.mdx │ ├── api-safe-transaction-service.mdx │ ├── api-safe-transaction-service │ │ ├── _meta.json │ │ ├── faq.md │ │ └── rpc-requirements.md │ ├── safe-contracts-deployment.mdx │ ├── safe-infrastructure-deployment.mdx │ ├── safe-installation-overview.mdx │ ├── transaction-service-guides │ │ ├── _meta.json │ │ ├── data-decoder.mdx │ │ ├── delegates.mdx │ │ ├── messages.mdx │ │ └── transactions.mdx │ ├── transaction-service-overview.mdx │ └── transaction-service-reference │ │ ├── arbitrum.mdx │ │ ├── aurora.mdx │ │ ├── avalanche.mdx │ │ ├── base-sepolia.mdx │ │ ├── base.mdx │ │ ├── blast.mdx │ │ ├── bsc.mdx │ │ ├── celo.mdx │ │ ├── chiado.mdx │ │ ├── gnosis-chain.mdx │ │ ├── linea.mdx │ │ ├── mainnet.mdx │ │ ├── mantle.mdx │ │ ├── optimism.mdx │ │ ├── polygon.mdx │ │ ├── scroll.mdx │ │ ├── sepolia.mdx │ │ ├── worldchain.mdx │ │ ├── xlayer.mdx │ │ ├── zkevm.mdx │ │ └── zksync.mdx ├── home │ ├── _meta.json │ ├── ai-agent-actions │ │ ├── _meta.json │ │ ├── ai-agent-swaps-on-uniswap.mdx │ │ ├── ai-agent-swaps-with-cow-swap.mdx │ │ └── introduction.mdx │ ├── ai-agent-quickstarts │ │ ├── _meta.json │ │ ├── agent-with-spending-limit.mdx │ │ ├── basic-agent-setup.mdx │ │ ├── human-approval.mdx │ │ ├── introduction.mdx │ │ └── multi-agent-setup.mdx │ ├── ai-agent-setup.mdx │ ├── ai-overview.mdx │ ├── glossary.md │ ├── safe-core.mdx │ └── what-is-safe.mdx ├── index.tsx ├── reference-sdk-api-kit │ ├── _meta.json │ ├── addmessage.mdx │ ├── addmessagesignature.mdx │ ├── addsafedelegate.mdx │ ├── addsafeoperation.mdx │ ├── confirmsafeoperation.mdx │ ├── confirmtransaction.mdx │ ├── constructor.mdx │ ├── decodedata.mdx │ ├── estimatesafetransaction.mdx │ ├── getalltransactions.mdx │ ├── getincomingtransactions.mdx │ ├── getmessage.mdx │ ├── getmessages.mdx │ ├── getmoduletransactions.mdx │ ├── getmultisigtransactions.mdx │ ├── getnextnonce.mdx │ ├── getpendingsafeoperations.mdx │ ├── getpendingtransactions.mdx │ ├── getsafecreationinfo.mdx │ ├── getsafedelegates.mdx │ ├── getsafeinfo.mdx │ ├── getsafeoperation.mdx │ ├── getsafeoperationconfirmations.mdx │ ├── getsafeoperationsbyaddress.mdx │ ├── getsafesbymodule.mdx │ ├── getsafesbyowner.mdx │ ├── getserviceinfo.mdx │ ├── getservicesingletonsinfo.mdx │ ├── gettoken.mdx │ ├── gettokenlist.mdx │ ├── gettransaction.mdx │ ├── gettransactionconfirmations.mdx │ ├── overview.mdx │ ├── proposetransaction.mdx │ └── removesafedelegate.mdx ├── reference-sdk-protocol-kit │ ├── _meta.json │ ├── deployment │ │ ├── _meta.json │ │ ├── createsafedeploymenttransaction.mdx │ │ └── getsafeaddressfromdeploymenttx.mdx │ ├── fallback-handler │ │ ├── _meta.json │ │ ├── createdisablefallbackhandlertx.mdx │ │ └── createenablefallbackhandlertx.mdx │ ├── initialization │ │ ├── _meta.json │ │ ├── connect.mdx │ │ └── init.mdx │ ├── messages │ │ ├── _meta.json │ │ ├── createmessage.mdx │ │ ├── getsafemessagehash.mdx │ │ ├── isvalidsignature.mdx │ │ └── signmessage.mdx │ ├── onchain-tracking │ │ ├── _meta.json │ │ └── getOnchainIdentifier.mdx │ ├── overview.mdx │ ├── passkeys │ │ ├── _meta.json │ │ └── createpasskeysigner.mdx │ ├── safe-guards │ │ ├── _meta.json │ │ ├── createdisableguardtx.mdx │ │ ├── createenableguardtx.mdx │ │ └── getguard.mdx │ ├── safe-info │ │ ├── _meta.json │ │ ├── createaddownertx.mdx │ │ ├── createchangethresholdtx.mdx │ │ ├── createremoveownertx.mdx │ │ ├── createswapownertx.mdx │ │ ├── getaddress.mdx │ │ ├── getbalance.mdx │ │ ├── getchainid.mdx │ │ ├── getcontractversion.mdx │ │ ├── getnonce.mdx │ │ ├── getowners.mdx │ │ ├── getownerswhoapprovedtx.mdx │ │ ├── getthreshold.mdx │ │ └── isowner.mdx │ ├── safe-modules │ │ ├── _meta.json │ │ ├── createdisablemoduletx.mdx │ │ ├── createenablemoduletx.mdx │ │ ├── getmodules.mdx │ │ └── ismoduleenabled.mdx │ ├── transaction-signatures │ │ ├── _meta.json │ │ ├── approvetransactionhash.mdx │ │ ├── signhash.mdx │ │ ├── signtransaction.mdx │ │ └── signtypeddata.mdx │ └── transactions │ │ ├── _meta.json │ │ ├── copytransaction.mdx │ │ ├── createrejectiontransaction.mdx │ │ ├── createtransaction.mdx │ │ ├── executetransaction.mdx │ │ ├── gettransactionhash.mdx │ │ └── isvalidtransaction.mdx ├── reference-sdk-react-hooks │ ├── _meta.json │ ├── createconfig.mdx │ ├── overview.mdx │ ├── safeprovider.mdx │ ├── useconfirmtransaction.mdx │ ├── usesafe.mdx │ ├── usesafe │ │ ├── _meta.json │ │ ├── connect.mdx │ │ ├── disconnect.mdx │ │ ├── getbalance.mdx │ │ ├── getchain.mdx │ │ ├── getpendingtransactions.mdx │ │ ├── getsafeinfo.mdx │ │ ├── getsigneraddress.mdx │ │ ├── gettransaction.mdx │ │ ├── gettransactions.mdx │ │ ├── isinitialized.mdx │ │ ├── isownerconnected.mdx │ │ └── issignerconnected.mdx │ ├── usesendtransaction.mdx │ ├── useupdateowners.mdx │ ├── useupdateowners │ │ ├── _meta.json │ │ ├── add.mdx │ │ ├── remove.mdx │ │ └── swap.mdx │ └── useupdatethreshold.mdx ├── reference-sdk-starter-kit │ ├── _meta.json │ ├── offchain-messages.mdx │ ├── offchain-messages │ │ ├── _meta.json │ │ ├── confirmoffchainmessage.mdx │ │ ├── getpendingoffchainmessages.mdx │ │ └── sendoffchainmessage.mdx │ ├── onchain-messages.mdx │ ├── onchain-messages │ │ ├── _meta.json │ │ └── sendonchainmessage.mdx │ ├── overview.mdx │ ├── safe-client-result.mdx │ ├── safe-client │ │ ├── _meta.json │ │ ├── confirm.mdx │ │ ├── constructor.mdx │ │ ├── createaddownertransaction.mdx │ │ ├── createchangethresholdtransaction.mdx │ │ ├── createremoveownertransaction.mdx │ │ ├── createswapownertransaction.mdx │ │ ├── extend.mdx │ │ ├── getaddress.mdx │ │ ├── getnonce.mdx │ │ ├── getowners.mdx │ │ ├── getownerswhoapprovedtransaction.mdx │ │ ├── getpendingtransactions.mdx │ │ ├── getthreshold.mdx │ │ ├── isdeployed.mdx │ │ ├── isowner.mdx │ │ └── send.mdx │ ├── safe-operations.mdx │ └── safe-operations │ │ ├── _meta.json │ │ ├── confirmsafeoperation.mdx │ │ ├── getpendingsafeoperations.mdx │ │ └── sendsafeoperation.mdx ├── reference-smart-account │ ├── _meta.json │ ├── deployment │ │ ├── SafeProxy.mdx │ │ ├── SafeProxyFactory.mdx │ │ ├── SafeSingleton.mdx │ │ └── _meta.json │ ├── events │ │ ├── AddedOwner.mdx │ │ ├── ApproveHash.mdx │ │ ├── ChangedFallbackHandler.mdx │ │ ├── ChangedGuard.mdx │ │ ├── ChangedModuleGuard.mdx │ │ ├── ChangedThreshold.mdx │ │ ├── DisabledModule.mdx │ │ ├── EnabledModule.mdx │ │ ├── ExecutionFailure.mdx │ │ ├── ExecutionFromModuleFailure.mdx │ │ ├── ExecutionFromModuleSuccess.mdx │ │ ├── ExecutionSuccess.mdx │ │ ├── RemovedOwner.mdx │ │ ├── SafeReceived.mdx │ │ ├── SafeSetup.mdx │ │ └── SignMsg.mdx │ ├── fallback │ │ ├── _meta.json │ │ ├── fallback.mdx │ │ ├── receive.mdx │ │ └── setFallbackHandler.mdx │ ├── guards │ │ ├── _meta.json │ │ ├── setGuard.mdx │ │ └── setModuleGuard.mdx │ ├── modules │ │ ├── _meta.json │ │ ├── disableModule.mdx │ │ ├── enableModule.mdx │ │ ├── execTransactionFromModule.mdx │ │ ├── execTransactionFromModuleReturnData.mdx │ │ ├── getModulesPaginated.mdx │ │ └── isModuleEnabled.mdx │ ├── overview.mdx │ ├── owners │ │ ├── _meta.json │ │ ├── addOwnerWithThreshold.mdx │ │ ├── changeThreshold.mdx │ │ ├── getOwners.mdx │ │ ├── getThreshold.mdx │ │ ├── isOwner.mdx │ │ ├── removeOwner.mdx │ │ └── swapOwner.mdx │ ├── setup │ │ ├── _meta.json │ │ ├── domainSeparator.mdx │ │ └── setup.mdx │ ├── signatures │ │ ├── _meta.json │ │ ├── approveHash.mdx │ │ ├── checkNSignatures.mdx │ │ ├── checkSignatures.mdx │ │ └── signedMessages.mdx │ ├── transactions │ │ ├── _meta.json │ │ ├── encodeTransactionData.mdx │ │ ├── execTransaction.mdx │ │ ├── getTransactionHash.mdx │ │ └── simulateAndRevert.mdx │ └── utilities │ │ ├── _meta.json │ │ └── getStorageAt.mdx ├── resource-hub.mdx ├── safenet │ ├── _meta.json │ ├── architecture.mdx │ ├── chains.mdx │ ├── concepts │ │ ├── _meta.json │ │ ├── attestation.mdx │ │ ├── challenge.mdx │ │ ├── guarantee.mdx │ │ ├── resource-lock.mdx │ │ ├── settlement.mdx │ │ └── universal-balance.mdx │ ├── core-components │ │ ├── _meta.json │ │ ├── end-user.mdx │ │ ├── liquidity-provider.mdx │ │ ├── processor.mdx │ │ ├── safenet-protocol.mdx │ │ ├── transaction-service.mdx │ │ └── validator.mdx │ ├── introduction.mdx │ ├── optimistic-validity-proof.mdx │ ├── overview.mdx │ ├── protocol │ │ ├── _meta.json │ │ ├── beneficiary.mdx │ │ ├── entry-point.mdx │ │ ├── guarantee-engine.mdx │ │ ├── guarantee-implementation.mdx │ │ ├── guard.mdx │ │ ├── home-safe.mdx │ │ ├── overview.mdx │ │ ├── relayer.mdx │ │ ├── safe-dao.mdx │ │ ├── settlement-engine.mdx │ │ └── transceiver.mdx │ ├── safenet-account.mdx │ └── safenet-transaction.mdx ├── sdk │ ├── _meta.json │ ├── api-kit.mdx │ ├── api-kit │ │ ├── _meta.json │ │ └── guides │ │ │ ├── _meta.json │ │ │ ├── migrate-to-v1.md │ │ │ ├── migrate-to-v2.md │ │ │ ├── migrate-to-v3.md │ │ │ └── propose-and-confirm-transactions.mdx │ ├── onchain-tracking.mdx │ ├── onramp.mdx │ ├── onramp │ │ ├── _meta.json │ │ ├── monerium.mdx │ │ └── stripe.mdx │ ├── overview.mdx │ ├── protocol-kit.mdx │ ├── protocol-kit │ │ ├── _meta.json │ │ └── guides │ │ │ ├── _meta.json │ │ │ ├── execute-transactions.mdx │ │ │ ├── migrate-to-v1.md │ │ │ ├── migrate-to-v2.md │ │ │ ├── migrate-to-v3.md │ │ │ ├── migrate-to-v4.md │ │ │ ├── migrate-to-v5.md │ │ │ ├── migrate-to-v6.md │ │ │ ├── multichain-safe-deployment.mdx │ │ │ ├── safe-deployment.mdx │ │ │ ├── signatures.md │ │ │ └── signatures │ │ │ ├── _meta.json │ │ │ ├── messages.mdx │ │ │ └── transactions.mdx │ ├── react-hooks.mdx │ ├── react-hooks │ │ ├── _meta.json │ │ └── guides │ │ │ ├── _meta.json │ │ │ └── send-transactions.mdx │ ├── relay-kit.mdx │ ├── relay-kit │ │ ├── _meta.json │ │ ├── guides │ │ │ ├── 4337-safe-sdk.mdx │ │ │ ├── _meta.json │ │ │ ├── gelato-relay.mdx │ │ │ ├── migrate-to-v2.md │ │ │ ├── migrate-to-v3.md │ │ │ └── migrate-to-v4.md │ │ └── reference │ │ │ ├── _meta.json │ │ │ └── safe-4337-pack.mdx │ ├── signers.mdx │ ├── signers │ │ ├── _meta.json │ │ ├── dynamic.mdx │ │ ├── magic.mdx │ │ ├── passkeys.mdx │ │ ├── privy.mdx │ │ └── web3auth.mdx │ ├── starter-kit.mdx │ └── starter-kit │ │ ├── _meta.json │ │ └── guides │ │ ├── _meta.json │ │ ├── send-transactions.mdx │ │ └── send-user-operations.mdx └── support.mdx ├── pnpm-lock.yaml ├── public ├── event-background.png ├── favicon.png ├── fonts │ └── Citerne-Light.woff ├── llms-ctx-full.txt ├── llms-ctx.txt ├── llms.txt ├── og_image.png ├── og_image_resource_hub.png └── unknown-logo.png ├── redirects.json ├── styles ├── emotion.ts ├── palette.ts ├── styles.css └── theme.ts ├── tests └── redirections.spec.ts ├── theme.config.tsx └── tsconfig.json /.env.example: -------------------------------------------------------------------------------- 1 | NEXT_PUBLIC_HOST_URL='http://localhost:3000' 2 | NEXT_PUBLIC_GOOGLE_ANALYTICS_TRACKING_ID= 3 | NEXT_PUBLIC_GOOGLE_ANALYTICS_DOMAIN= 4 | NEXT_PUBLIC_IS_PRODUCTION=false 5 | NEXT_PUBLIC_N8N_WEBHOOK_URL= 6 | GITHUB_TOKEN= 7 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | ## What it solves 2 | 3 | Resolves # 4 | 5 | ## Changelog 6 | 7 | - 8 | 9 | ## Checklist 10 | 11 | - [ ] I've followed all `safe-docs` [pull request rules](https://safe-global.notion.site/safe-docs-pr-rules) 12 | -------------------------------------------------------------------------------- /.github/styles/Microsoft/AMPM.yml: -------------------------------------------------------------------------------- 1 | extends: existence 2 | message: Use 'AM' or 'PM' (preceded by a space). 3 | link: https://docs.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/term-collections/date-time-terms 4 | level: error 5 | nonword: true 6 | tokens: 7 | - '\d{1,2}[AP]M' 8 | - '\d{1,2} ?[ap]m' 9 | - '\d{1,2} ?[aApP]\.[mM]\.' 10 | -------------------------------------------------------------------------------- /.github/styles/Microsoft/Auto.yml: -------------------------------------------------------------------------------- 1 | extends: existence 2 | message: "In general, don't hyphenate '%s'." 3 | link: https://docs.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/a/auto 4 | ignorecase: true 5 | level: error 6 | action: 7 | name: convert 8 | params: 9 | - simple 10 | tokens: 11 | - 'auto-\w+' 12 | -------------------------------------------------------------------------------- /.github/styles/Microsoft/Dashes.yml: -------------------------------------------------------------------------------- 1 | extends: existence 2 | message: "Remove the spaces around '%s'." 3 | link: https://docs.microsoft.com/en-us/style-guide/punctuation/dashes-hyphens/emes 4 | ignorecase: true 5 | nonword: true 6 | level: error 7 | action: 8 | name: edit 9 | params: 10 | - remove 11 | - ' ' 12 | tokens: 13 | - '[—–]\s|\s[—–]' 14 | -------------------------------------------------------------------------------- /.github/styles/Microsoft/DateOrder.yml: -------------------------------------------------------------------------------- 1 | extends: existence 2 | message: "Always spell out the name of the month." 3 | link: https://docs.microsoft.com/en-us/style-guide/numbers#numbers-in-dates 4 | ignorecase: true 5 | level: warning 6 | nonword: true 7 | tokens: 8 | - '\b\d{1,2}/\d{1,2}/(?:\d{4}|\d{2})\b' 9 | -------------------------------------------------------------------------------- /.github/styles/Microsoft/Ellipses.yml: -------------------------------------------------------------------------------- 1 | extends: existence 2 | message: "In general, don't use an ellipsis." 3 | link: https://docs.microsoft.com/en-us/style-guide/punctuation/ellipses 4 | nonword: true 5 | level: warning 6 | action: 7 | name: remove 8 | tokens: 9 | - '\.\.\.' 10 | -------------------------------------------------------------------------------- /.github/styles/Microsoft/Gender.yml: -------------------------------------------------------------------------------- 1 | extends: existence 2 | message: "Don't use '%s'." 3 | link: https://github.com/MicrosoftDocs/microsoft-style-guide/blob/master/styleguide/grammar/nouns-pronouns.md#pronouns-and-gender 4 | level: error 5 | ignorecase: true 6 | tokens: 7 | - he/she 8 | - s/he 9 | -------------------------------------------------------------------------------- /.github/styles/Microsoft/GeneralURL.yml: -------------------------------------------------------------------------------- 1 | extends: existence 2 | message: "For a general audience, use 'address' rather than 'URL'." 3 | link: https://docs.microsoft.com/en-us/style-guide/urls-web-addresses 4 | level: warning 5 | action: 6 | name: replace 7 | params: 8 | - URL 9 | - address 10 | tokens: 11 | - URL 12 | -------------------------------------------------------------------------------- /.github/styles/Microsoft/HeadingAcronyms.yml: -------------------------------------------------------------------------------- 1 | extends: existence 2 | message: "Avoid using acronyms in a title or heading." 3 | link: https://docs.microsoft.com/en-us/style-guide/acronyms#be-careful-with-acronyms-in-titles-and-headings 4 | level: warning 5 | scope: heading 6 | tokens: 7 | - '[A-Z]{2,4}' 8 | -------------------------------------------------------------------------------- /.github/styles/Microsoft/HeadingColons.yml: -------------------------------------------------------------------------------- 1 | extends: existence 2 | message: "Capitalize '%s'." 3 | link: https://docs.microsoft.com/en-us/style-guide/punctuation/colons 4 | nonword: true 5 | level: error 6 | scope: heading 7 | tokens: 8 | - ':\s[a-z]' 9 | -------------------------------------------------------------------------------- /.github/styles/Microsoft/HeadingPunctuation.yml: -------------------------------------------------------------------------------- 1 | extends: existence 2 | message: "Don't use end punctuation in headings." 3 | link: https://docs.microsoft.com/en-us/style-guide/punctuation/periods 4 | nonword: true 5 | level: warning 6 | scope: heading 7 | action: 8 | name: edit 9 | params: 10 | - remove 11 | - '.?!' 12 | tokens: 13 | - '[a-z][.?!](?:\s|$)' 14 | -------------------------------------------------------------------------------- /.github/styles/Microsoft/Hyphens.yml: -------------------------------------------------------------------------------- 1 | extends: existence 2 | message: "'%s' doesn't need a hyphen." 3 | link: https://docs.microsoft.com/en-us/style-guide/punctuation/dashes-hyphens/hyphens 4 | level: warning 5 | ignorecase: false 6 | nonword: true 7 | action: 8 | name: edit 9 | params: 10 | - replace 11 | - '-' 12 | - ' ' 13 | tokens: 14 | - '\s[^\s-]+ly-' 15 | -------------------------------------------------------------------------------- /.github/styles/Microsoft/Negative.yml: -------------------------------------------------------------------------------- 1 | extends: existence 2 | message: "Form a negative number with an en dash, not a hyphen." 3 | link: https://docs.microsoft.com/en-us/style-guide/numbers 4 | nonword: true 5 | level: error 6 | action: 7 | name: edit 8 | params: 9 | - replace 10 | - '-' 11 | - '–' 12 | tokens: 13 | - '\s-\d+\s' 14 | -------------------------------------------------------------------------------- /.github/styles/Microsoft/Ordinal.yml: -------------------------------------------------------------------------------- 1 | extends: existence 2 | message: "Don't add -ly to an ordinal number." 3 | link: https://docs.microsoft.com/en-us/style-guide/numbers 4 | level: error 5 | action: 6 | name: edit 7 | params: 8 | - trim 9 | - ly 10 | tokens: 11 | - firstly 12 | - secondly 13 | - thirdly 14 | -------------------------------------------------------------------------------- /.github/styles/Microsoft/OxfordComma.yml: -------------------------------------------------------------------------------- 1 | extends: existence 2 | message: "Use the Oxford comma in '%s'." 3 | link: https://docs.microsoft.com/en-us/style-guide/punctuation/commas 4 | scope: sentence 5 | level: suggestion 6 | nonword: true 7 | tokens: 8 | - '(?:[^\s,]+,){1,} \w+ (?:and|or) \w+[.?!]' 9 | -------------------------------------------------------------------------------- /.github/styles/Microsoft/Percentages.yml: -------------------------------------------------------------------------------- 1 | extends: existence 2 | message: "Use a numeral plus the units." 3 | link: https://docs.microsoft.com/en-us/style-guide/numbers 4 | nonword: true 5 | level: error 6 | tokens: 7 | - '\b[a-zA-z]+\spercent\b' 8 | -------------------------------------------------------------------------------- /.github/styles/Microsoft/Quotes.yml: -------------------------------------------------------------------------------- 1 | extends: existence 2 | message: 'Punctuation should be inside the quotes.' 3 | link: https://docs.microsoft.com/en-us/style-guide/punctuation/quotation-marks 4 | level: warning 5 | nonword: true 6 | tokens: 7 | - '["“][^"”“]+["”][.,]' 8 | -------------------------------------------------------------------------------- /.github/styles/Microsoft/RangeFormat.yml: -------------------------------------------------------------------------------- 1 | extends: existence 2 | message: "Use an en dash in a range of numbers." 3 | link: https://docs.microsoft.com/en-us/style-guide/numbers 4 | nonword: true 5 | level: error 6 | action: 7 | name: edit 8 | params: 9 | - replace 10 | - '-' 11 | - '–' 12 | tokens: 13 | - '\b\d+\s?[-]\s?\d+\b' 14 | -------------------------------------------------------------------------------- /.github/styles/Microsoft/RangeTime.yml: -------------------------------------------------------------------------------- 1 | extends: existence 2 | message: "Use 'to' instead of a dash in '%s'." 3 | link: https://docs.microsoft.com/en-us/style-guide/numbers 4 | nonword: true 5 | level: error 6 | action: 7 | name: edit 8 | params: 9 | - replace 10 | - '[-–]' 11 | - 'to' 12 | tokens: 13 | - '\b(?:AM|PM)\s?[-–]\s?.+(?:AM|PM)\b' 14 | -------------------------------------------------------------------------------- /.github/styles/Microsoft/Ranges.yml: -------------------------------------------------------------------------------- 1 | extends: existence 2 | message: "In most cases, use 'from' or 'through' to describe a range of numbers." 3 | link: 'https://docs.microsoft.com/en-us/style-guide/numbers' 4 | nonword: true 5 | level: warning 6 | tokens: 7 | - '\b\d+\s?[-–]\s?\d+\b' 8 | -------------------------------------------------------------------------------- /.github/styles/Microsoft/Semicolon.yml: -------------------------------------------------------------------------------- 1 | extends: existence 2 | message: "Try to simplify this sentence." 3 | link: https://docs.microsoft.com/en-us/style-guide/punctuation/semicolons 4 | nonword: true 5 | scope: sentence 6 | level: suggestion 7 | tokens: 8 | - ';' 9 | -------------------------------------------------------------------------------- /.github/styles/Microsoft/SentenceLength.yml: -------------------------------------------------------------------------------- 1 | extends: occurrence 2 | message: "Try to keep sentences short (< 30 words)." 3 | scope: sentence 4 | level: suggestion 5 | max: 30 6 | token: \b(\w+)\b 7 | 8 | -------------------------------------------------------------------------------- /.github/styles/Microsoft/Spacing.yml: -------------------------------------------------------------------------------- 1 | extends: existence 2 | message: "'%s' should have one space." 3 | link: https://docs.microsoft.com/en-us/style-guide/punctuation/periods 4 | level: error 5 | nonword: true 6 | tokens: 7 | - '[a-z][.?!] {2,}[A-Z]' 8 | - '[a-z][.?!][A-Z]' 9 | -------------------------------------------------------------------------------- /.github/styles/Microsoft/Suspended.yml: -------------------------------------------------------------------------------- 1 | extends: existence 2 | message: "Don't use '%s' unless space is limited." 3 | link: https://docs.microsoft.com/en-us/style-guide/punctuation/dashes-hyphens/hyphens 4 | ignorecase: true 5 | level: warning 6 | tokens: 7 | - '\w+- and \w+-' 8 | -------------------------------------------------------------------------------- /.github/styles/Microsoft/URLFormat.yml: -------------------------------------------------------------------------------- 1 | extends: substitution 2 | message: "Use '%s' instead of '%s'." 3 | ignorecase: true 4 | level: error 5 | action: 6 | name: replace 7 | swap: 8 | URL for: URL of 9 | an URL: a URL 10 | 11 | -------------------------------------------------------------------------------- /.github/styles/Microsoft/We.yml: -------------------------------------------------------------------------------- 1 | extends: existence 2 | message: "Try to avoid using first-person plural like '%s'." 3 | link: https://docs.microsoft.com/en-us/style-guide/grammar/person#avoid-first-person-plural 4 | level: warning 5 | ignorecase: true 6 | tokens: 7 | - we 8 | - we'(?:ve|re) 9 | - ours? 10 | - us 11 | - let's 12 | -------------------------------------------------------------------------------- /.github/styles/Microsoft/meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "feed": "https://github.com/errata-ai/Microsoft/releases.atom", 3 | "vale_version": ">=1.0.0" 4 | } 5 | -------------------------------------------------------------------------------- /.github/styles/config/vocabularies/default/reject.txt: -------------------------------------------------------------------------------- 1 | Github 2 | -------------------------------------------------------------------------------- /.github/styles/write-good/Illusions.yml: -------------------------------------------------------------------------------- 1 | extends: repetition 2 | message: "'%s' is repeated!" 3 | level: warning 4 | alpha: true 5 | action: 6 | name: edit 7 | params: 8 | - truncate 9 | - " " 10 | tokens: 11 | - '[^\s]+' 12 | -------------------------------------------------------------------------------- /.github/styles/write-good/So.yml: -------------------------------------------------------------------------------- 1 | extends: existence 2 | message: "Don't start a sentence with '%s'." 3 | level: error 4 | raw: 5 | - '(?:[;-]\s)so[\s,]|\bSo[\s,]' 6 | -------------------------------------------------------------------------------- /.github/styles/write-good/ThereIs.yml: -------------------------------------------------------------------------------- 1 | extends: existence 2 | message: "Don't start a sentence with '%s'." 3 | ignorecase: false 4 | level: error 5 | raw: 6 | - '(?:[;-]\s)There\s(is|are)|\bThere\s(is|are)\b' 7 | -------------------------------------------------------------------------------- /.github/styles/write-good/meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "feed": "https://github.com/errata-ai/write-good/releases.atom", 3 | "vale_version": ">=1.0.0" 4 | } 5 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules/ 3 | out/ 4 | dist/ 5 | .next 6 | .eslintcache 7 | .env 8 | tsconfig.tsbuildinfo 9 | -------------------------------------------------------------------------------- /.husky/pre-push: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | npm run prepush 5 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "semi": false, 3 | "singleQuote": true, 4 | "trailingComma": "none", 5 | "jsxSingleQuote": true, 6 | "arrowParens": "avoid" 7 | } 8 | -------------------------------------------------------------------------------- /.vale.ini: -------------------------------------------------------------------------------- 1 | StylesPath = .github/styles 2 | MinAlertLevel = suggestion 3 | Vocab = default 4 | Packages = Microsoft, write-good 5 | 6 | [formats] 7 | mdx = md 8 | 9 | [*.{md,mdx}] 10 | BasedOnStyles = Vale, Microsoft, write-good 11 | Microsoft.Contractions = NO 12 | Microsoft.Quotes = NO 13 | -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": [ 3 | "esbenp.prettier-vscode", 4 | "chrischinchilla.vale-vscode", 5 | "unifiedjs.vscode-mdx", 6 | "znck.grammarly" 7 | ] 8 | } 9 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "grammarly.files.include": ["**/*.md", "**/*.mdx"], 3 | "vale.valeCLI.config": "${workspaceFolder}/.vale.ini" 4 | } -------------------------------------------------------------------------------- /assets/add-chain-ui.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/add-chain-ui.png -------------------------------------------------------------------------------- /assets/add-custom-app.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/add-custom-app.png -------------------------------------------------------------------------------- /assets/ai-agent-approve-transaction-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/ai-agent-approve-transaction-1.png -------------------------------------------------------------------------------- /assets/ai-agent-approve-transaction-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/ai-agent-approve-transaction-2.png -------------------------------------------------------------------------------- /assets/ai-agent-setup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/ai-agent-setup.png -------------------------------------------------------------------------------- /assets/core-brands.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/core-brands.png -------------------------------------------------------------------------------- /assets/diagram-4337-execute.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/diagram-4337-execute.png -------------------------------------------------------------------------------- /assets/diagram-4337-validate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/diagram-4337-validate.png -------------------------------------------------------------------------------- /assets/diagram-7579.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/diagram-7579.png -------------------------------------------------------------------------------- /assets/diagram-7702-approach-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/diagram-7702-approach-1.png -------------------------------------------------------------------------------- /assets/diagram-7702-approach-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/diagram-7702-approach-2.png -------------------------------------------------------------------------------- /assets/diagram-7702-approach-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/diagram-7702-approach-3.png -------------------------------------------------------------------------------- /assets/diagram-fallback-handler.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/diagram-fallback-handler.png -------------------------------------------------------------------------------- /assets/diagram-safe-7579.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/diagram-safe-7579.png -------------------------------------------------------------------------------- /assets/diagram-safe-apps.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/diagram-safe-apps.png -------------------------------------------------------------------------------- /assets/diagram-safe-core-protocol.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/diagram-safe-core-protocol.png -------------------------------------------------------------------------------- /assets/diagram-safe-guards.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/diagram-safe-guards.png -------------------------------------------------------------------------------- /assets/diagram-safe-modules.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/diagram-safe-modules.png -------------------------------------------------------------------------------- /assets/diagram-safe-smart-account-proxy-creation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/diagram-safe-smart-account-proxy-creation.png -------------------------------------------------------------------------------- /assets/diagram-safe-smart-account-safe-components.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/diagram-safe-smart-account-safe-components.png -------------------------------------------------------------------------------- /assets/diagram-safe-smart-accounts-architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/diagram-safe-smart-accounts-architecture.png -------------------------------------------------------------------------------- /assets/diagram-services.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/diagram-services.png -------------------------------------------------------------------------------- /assets/diamond-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/diamond-bg.png -------------------------------------------------------------------------------- /assets/diamond-dev.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/diamond-dev.png -------------------------------------------------------------------------------- /assets/german.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/german.png -------------------------------------------------------------------------------- /assets/louis.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/louis.jpeg -------------------------------------------------------------------------------- /assets/monerium-sandbox-add-money.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/monerium-sandbox-add-money.png -------------------------------------------------------------------------------- /assets/next.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/next.png -------------------------------------------------------------------------------- /assets/nuxt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/nuxt.png -------------------------------------------------------------------------------- /assets/react-native-passkeys-app-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/react-native-passkeys-app-1.png -------------------------------------------------------------------------------- /assets/react-native-passkeys-app-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/react-native-passkeys-app-2.png -------------------------------------------------------------------------------- /assets/react-native-passkeys-app-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/react-native-passkeys-app-3.png -------------------------------------------------------------------------------- /assets/react-native-passkeys-app.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/react-native-passkeys-app.gif -------------------------------------------------------------------------------- /assets/react-native-passkeys-play-store.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/react-native-passkeys-play-store.png -------------------------------------------------------------------------------- /assets/safe-infrastructure-installation-config-service.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/safe-infrastructure-installation-config-service.png -------------------------------------------------------------------------------- /assets/safe-infrastructure-installation-configuration.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/safe-infrastructure-installation-configuration.png -------------------------------------------------------------------------------- /assets/safe-passkeys-app-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/safe-passkeys-app-1.png -------------------------------------------------------------------------------- /assets/safe-passkeys-app-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/safe-passkeys-app-2.png -------------------------------------------------------------------------------- /assets/safe-passkeys-app-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/safe-passkeys-app-3.png -------------------------------------------------------------------------------- /assets/safe-smart-accounts.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/safe-smart-accounts.png -------------------------------------------------------------------------------- /assets/safe-transaction-service.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/safe-transaction-service.png -------------------------------------------------------------------------------- /assets/safenet-account.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/safenet-account.png -------------------------------------------------------------------------------- /assets/safenet-chains.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/safenet-chains.png -------------------------------------------------------------------------------- /assets/safenet-highlevel-overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/safenet-highlevel-overview.png -------------------------------------------------------------------------------- /assets/safenet-introduction.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/safenet-introduction.png -------------------------------------------------------------------------------- /assets/safenet-protocol-overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/safenet-protocol-overview.png -------------------------------------------------------------------------------- /assets/safenet-transaction-phases.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/safenet-transaction-phases.png -------------------------------------------------------------------------------- /assets/side-bar-menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/side-bar-menu.png -------------------------------------------------------------------------------- /assets/stripe-kyc-address.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/stripe-kyc-address.png -------------------------------------------------------------------------------- /assets/stripe-kyc-payment-method.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/stripe-kyc-payment-method.png -------------------------------------------------------------------------------- /assets/stripe-kyc-personal-info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/stripe-kyc-personal-info.png -------------------------------------------------------------------------------- /assets/svg/command-line.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/svg/feedback-ok.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /assets/svg/filter.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/svg/gift.svg: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /assets/svg/scroll-to-top.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /assets/svg/x-icon.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/tanay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/tanay.png -------------------------------------------------------------------------------- /assets/transaction_service_architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/transaction_service_architecture.png -------------------------------------------------------------------------------- /assets/valle.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/assets/valle.jpg -------------------------------------------------------------------------------- /components/ApiReference/examples/-v1-about-ethereum-rpc--get.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "erigon/2.59.3/linux-amd64/go1.21.5", 3 | "block_number": 6013083, 4 | "chain_id": 11155111, 5 | "chain": "SEPOLIA", 6 | "syncing": false 7 | } -------------------------------------------------------------------------------- /components/ApiReference/examples/-v1-about-ethereum-tracing-rpc--get.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "erigon/2.59.3/linux-amd64/go1.21.5", 3 | "block_number": 6013083, 4 | "chain_id": 11155111, 5 | "chain": "SEPOLIA", 6 | "syncing": false 7 | } -------------------------------------------------------------------------------- /components/ApiReference/examples/-v1-about-indexing--get.json: -------------------------------------------------------------------------------- 1 | { 2 | "currentBlockNumber": 6013083, 3 | "erc20BlockNumber": 6013083, 4 | "erc20Synced": true, 5 | "masterCopiesBlockNumber": 6013083, 6 | "masterCopiesSynced": true, 7 | "synced": true 8 | } -------------------------------------------------------------------------------- /components/ApiReference/examples/-v1-contracts-{address}--get.json: -------------------------------------------------------------------------------- 1 | { 2 | "address": "0x00000000000000ADc04C56Bf30aC9d3c0aAF14dC", 3 | "name": "Seaport", 4 | "displayName": "", 5 | "logoUri": null, 6 | "contractAbi": { 7 | "abi": [], 8 | "description": "Seaport", 9 | "relevance": 100 10 | }, 11 | "trustedForDelegateCall": false 12 | } 13 | -------------------------------------------------------------------------------- /components/ApiReference/examples/-v1-data-decoder--post.json: -------------------------------------------------------------------------------- 1 | { 2 | "method": "transfer", 3 | "parameters": [ 4 | { 5 | "name": "to", 6 | "type": "address", 7 | "value": "0x5298A93734C3D979eF1f23F78eBB871879A21F22" 8 | }, 9 | { 10 | "name": "value", 11 | "type": "uint256", 12 | "value": "10000000000000000000" 13 | } 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /components/ApiReference/examples/-v1-delegates-{delegate_address}--delete.json: -------------------------------------------------------------------------------- 1 | Empty Response 2 | -------------------------------------------------------------------------------- /components/ApiReference/examples/-v1-messages-{message_hash}-signatures--post.json: -------------------------------------------------------------------------------- 1 | Empty Response 2 | -------------------------------------------------------------------------------- /components/ApiReference/examples/-v1-modules-{address}-safes--get.json: -------------------------------------------------------------------------------- 1 | { 2 | "safes": ["0x5298A93734C3D979eF1f23F78eBB871879A21F22"] 3 | } 4 | -------------------------------------------------------------------------------- /components/ApiReference/examples/-v1-multisig-transactions-{safe_tx_hash}--delete.json: -------------------------------------------------------------------------------- 1 | Empty Response 2 | -------------------------------------------------------------------------------- /components/ApiReference/examples/-v1-multisig-transactions-{safe_tx_hash}--post.json: -------------------------------------------------------------------------------- 1 | Empty Response 2 | -------------------------------------------------------------------------------- /components/ApiReference/examples/-v1-multisig-transactions-{safe_tx_hash}-confirmations--post.json: -------------------------------------------------------------------------------- 1 | { 2 | "signature": "0xfc32b5fdfa8517b44bd45c5d1e09ed898325e109e6b889fbf1584c158dcbe71b2de4a1e8d43b5d396c1da03381cbc3f8358295192d19ded2c12dda90227308b720" 3 | } 4 | -------------------------------------------------------------------------------- /components/ApiReference/examples/-v1-notifications-devices-{uuid}--delete.json: -------------------------------------------------------------------------------- 1 | Empty Response 2 | -------------------------------------------------------------------------------- /components/ApiReference/examples/-v1-notifications-devices-{uuid}-safes-{address}--delete.json: -------------------------------------------------------------------------------- 1 | Empty Response 2 | -------------------------------------------------------------------------------- /components/ApiReference/examples/-v1-safe-operations-{safe_operation_hash}-confirmations--post.json: -------------------------------------------------------------------------------- 1 | Empty Response 2 | -------------------------------------------------------------------------------- /components/ApiReference/examples/-v1-safes-{address}-delegates-{delegate_address}--delete.json: -------------------------------------------------------------------------------- 1 | Empty Response 2 | -------------------------------------------------------------------------------- /components/ApiReference/examples/-v1-safes-{address}-messages--post.json: -------------------------------------------------------------------------------- 1 | Empty Response 2 | -------------------------------------------------------------------------------- /components/ApiReference/examples/-v1-safes-{address}-multisig-transactions--post.json: -------------------------------------------------------------------------------- 1 | { 2 | "safeTxGas": "45683" 3 | } 4 | -------------------------------------------------------------------------------- /components/ApiReference/examples/-v1-safes-{address}-multisig-transactions-estimations--post.json: -------------------------------------------------------------------------------- 1 | { 2 | "safeTxGas": "42806" 3 | } 4 | -------------------------------------------------------------------------------- /components/ApiReference/examples/-v1-safes-{address}-safe-operations--post.json: -------------------------------------------------------------------------------- 1 | Empty Response 2 | -------------------------------------------------------------------------------- /components/ApiReference/examples/-v1-tokens-{address}--get.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "ERC20", 3 | "address": "0x687e43D0aB3248bDfebFE3E8f9F1AB2B9FcE982d", 4 | "name": "0x5555.com", 5 | "symbol": "0x5555.com", 6 | "decimals": 18, 7 | "logoUri": "https://safe-transaction-assets.safe.global/tokens/logos/0x687e43D0aB3248bDfebFE3E8f9F1AB2B9FcE982d.png", 8 | "trusted": false 9 | } 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/-v2-delegates--post.json: -------------------------------------------------------------------------------- 1 | Empty Response 2 | -------------------------------------------------------------------------------- /components/ApiReference/examples/-v2-delegates-{delegate_address}--delete.json: -------------------------------------------------------------------------------- 1 | Empty Response 2 | -------------------------------------------------------------------------------- /components/ApiReference/examples/arbitrum/-v1-about--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 42161n 5 | }) 6 | 7 | const info = await apiKit.getServiceInfo() 8 | 9 | console.log(info) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/arbitrum/-v1-about-singletons--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 42161n 5 | }) 6 | 7 | const info = await apiKit.getServiceSingletonsInfo() 8 | 9 | console.log(info) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/arbitrum/-v1-contracts--get.ts: -------------------------------------------------------------------------------- 1 | export {} 2 | -------------------------------------------------------------------------------- /components/ApiReference/examples/arbitrum/-v1-data-decoder--post.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 42161n 5 | }) 6 | 7 | const data = await apiKit.decodeData( 8 | '0xa9059cbb0000000000000000000000005298a93734c3d979ef1f23f78ebb871879a21f220000000000000000000000000000000000000000000000008ac7230489e80000' 9 | ) 10 | 11 | console.log(data) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/arbitrum/-v1-messages-{message_hash}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 42161n 5 | }) 6 | 7 | const messageHash = 8 | '0x950cfe6090e742b709ab5f662c10c8b4e06d403a2f8c4654d86af45d93fa3777' 9 | 10 | const message = await apiKit.getMessage(messageHash) 11 | 12 | console.log(message) 13 | -------------------------------------------------------------------------------- /components/ApiReference/examples/arbitrum/-v1-modules-{address}-safes--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 42161n 5 | }) 6 | 7 | const safes = await apiKit.getSafesByModule( 8 | '0xB4F5e59987549a2586976e8957962dBD54a26FD0' 9 | ) 10 | 11 | console.log(safes) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/arbitrum/-v1-owners-{address}-safes--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 42161n 5 | }) 6 | 7 | const safes = await apiKit.getSafesByOwner( 8 | '0xa6d3DEBAAB2B8093e69109f23A75501F864F74e2' 9 | ) 10 | 11 | console.log(safes) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/arbitrum/-v1-safes-{address}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 42161n 5 | }) 6 | 7 | const safeInfo = await apiKit.getSafeInfo( 8 | '0x5298A93734C3D979eF1f23F78eBB871879A21F22' 9 | ) 10 | 11 | console.log(safeInfo) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/arbitrum/-v1-safes-{address}-all-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 42161n 5 | }) 6 | 7 | const transactions = await apiKit.getAllTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(transactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/arbitrum/-v1-safes-{address}-creation--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 42161n 5 | }) 6 | 7 | const safeCreationInfo = await apiKit.getSafeCreationInfo( 8 | '0x5298A93734C3D979eF1f23F78eBB871879A21F22' 9 | ) 10 | 11 | console.log(safeCreationInfo) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/arbitrum/-v1-safes-{address}-messages--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 42161n 5 | }) 6 | 7 | const safeAddress = '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 8 | 9 | const messages = await apiKit.getMessages(safeAddress) 10 | 11 | console.log(messages) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/arbitrum/-v1-safes-{address}-module-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 42161n 5 | }) 6 | 7 | const moduleTransactions = await apiKit.getModuleTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(moduleTransactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/arbitrum/-v1-safes-{address}-multisig-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 42161n 5 | }) 6 | 7 | const multisigTransactions = await apiKit.getMultisigTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(multisigTransactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/arbitrum/-v1-tokens--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 42161n 5 | }) 6 | 7 | const tokenList = await apiKit.getTokenList() 8 | 9 | console.log(tokenList) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/arbitrum/-v1-tokens-{address}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 42161n 5 | }) 6 | 7 | const token = await apiKit.getToken( 8 | '0x687e43D0aB3248bDfebFE3E8f9F1AB2B9FcE982d' 9 | ) 10 | 11 | console.log(token) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/arbitrum/-v2-delegates--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 42161n 5 | }) 6 | 7 | const delegates = await apiKit.getSafeDelegates({ 8 | safeAddress: '0xb53a6b6f67847cff94fdb94b90345cb45a2c7301' 9 | }) 10 | 11 | console.log(delegates) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/aurora/-v1-about--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 1313161554n 5 | }) 6 | 7 | const info = await apiKit.getServiceInfo() 8 | 9 | console.log(info) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/aurora/-v1-about-singletons--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 1313161554n 5 | }) 6 | 7 | const info = await apiKit.getServiceSingletonsInfo() 8 | 9 | console.log(info) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/aurora/-v1-contracts--get.ts: -------------------------------------------------------------------------------- 1 | export {} 2 | -------------------------------------------------------------------------------- /components/ApiReference/examples/aurora/-v1-messages-{message_hash}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 1313161554n 5 | }) 6 | 7 | const messageHash = 8 | '0x950cfe6090e742b709ab5f662c10c8b4e06d403a2f8c4654d86af45d93fa3777' 9 | 10 | const message = await apiKit.getMessage(messageHash) 11 | 12 | console.log(message) 13 | -------------------------------------------------------------------------------- /components/ApiReference/examples/aurora/-v1-modules-{address}-safes--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 1313161554n 5 | }) 6 | 7 | const safes = await apiKit.getSafesByModule( 8 | '0xB4F5e59987549a2586976e8957962dBD54a26FD0' 9 | ) 10 | 11 | console.log(safes) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/aurora/-v1-owners-{address}-safes--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 1313161554n 5 | }) 6 | 7 | const safes = await apiKit.getSafesByOwner( 8 | '0xa6d3DEBAAB2B8093e69109f23A75501F864F74e2' 9 | ) 10 | 11 | console.log(safes) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/aurora/-v1-safes-{address}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 1313161554n 5 | }) 6 | 7 | const safeInfo = await apiKit.getSafeInfo( 8 | '0x5298A93734C3D979eF1f23F78eBB871879A21F22' 9 | ) 10 | 11 | console.log(safeInfo) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/aurora/-v1-safes-{address}-all-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 1313161554n 5 | }) 6 | 7 | const transactions = await apiKit.getAllTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(transactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/aurora/-v1-safes-{address}-creation--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 1313161554n 5 | }) 6 | 7 | const safeCreationInfo = await apiKit.getSafeCreationInfo( 8 | '0x5298A93734C3D979eF1f23F78eBB871879A21F22' 9 | ) 10 | 11 | console.log(safeCreationInfo) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/aurora/-v1-safes-{address}-messages--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 1313161554n 5 | }) 6 | 7 | const safeAddress = '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 8 | 9 | const messages = await apiKit.getMessages(safeAddress) 10 | 11 | console.log(messages) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/aurora/-v1-safes-{address}-module-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 1313161554n 5 | }) 6 | 7 | const moduleTransactions = await apiKit.getModuleTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(moduleTransactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/aurora/-v1-safes-{address}-multisig-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 1313161554n 5 | }) 6 | 7 | const multisigTransactions = await apiKit.getMultisigTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(multisigTransactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/aurora/-v1-tokens--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 1313161554n 5 | }) 6 | 7 | const tokenList = await apiKit.getTokenList() 8 | 9 | console.log(tokenList) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/aurora/-v1-tokens-{address}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 1313161554n 5 | }) 6 | 7 | const token = await apiKit.getToken( 8 | '0x687e43D0aB3248bDfebFE3E8f9F1AB2B9FcE982d' 9 | ) 10 | 11 | console.log(token) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/aurora/-v2-delegates--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 1313161554n 5 | }) 6 | 7 | const delegates = await apiKit.getSafeDelegates({ 8 | safeAddress: '0xb53a6b6f67847cff94fdb94b90345cb45a2c7301' 9 | }) 10 | 11 | console.log(delegates) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/avalanche/-v1-about--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 43114n 5 | }) 6 | 7 | const info = await apiKit.getServiceInfo() 8 | 9 | console.log(info) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/avalanche/-v1-about-singletons--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 43114n 5 | }) 6 | 7 | const info = await apiKit.getServiceSingletonsInfo() 8 | 9 | console.log(info) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/avalanche/-v1-contracts--get.ts: -------------------------------------------------------------------------------- 1 | export {} 2 | -------------------------------------------------------------------------------- /components/ApiReference/examples/avalanche/-v1-messages-{message_hash}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 43114n 5 | }) 6 | 7 | const messageHash = 8 | '0x950cfe6090e742b709ab5f662c10c8b4e06d403a2f8c4654d86af45d93fa3777' 9 | 10 | const message = await apiKit.getMessage(messageHash) 11 | 12 | console.log(message) 13 | -------------------------------------------------------------------------------- /components/ApiReference/examples/avalanche/-v1-modules-{address}-safes--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 43114n 5 | }) 6 | 7 | const safes = await apiKit.getSafesByModule( 8 | '0xB4F5e59987549a2586976e8957962dBD54a26FD0' 9 | ) 10 | 11 | console.log(safes) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/avalanche/-v1-owners-{address}-safes--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 43114n 5 | }) 6 | 7 | const safes = await apiKit.getSafesByOwner( 8 | '0xa6d3DEBAAB2B8093e69109f23A75501F864F74e2' 9 | ) 10 | 11 | console.log(safes) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/avalanche/-v1-safes-{address}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 43114n 5 | }) 6 | 7 | const safeInfo = await apiKit.getSafeInfo( 8 | '0x5298A93734C3D979eF1f23F78eBB871879A21F22' 9 | ) 10 | 11 | console.log(safeInfo) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/avalanche/-v1-safes-{address}-all-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 43114n 5 | }) 6 | 7 | const transactions = await apiKit.getAllTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(transactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/avalanche/-v1-safes-{address}-creation--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 43114n 5 | }) 6 | 7 | const safeCreationInfo = await apiKit.getSafeCreationInfo( 8 | '0x5298A93734C3D979eF1f23F78eBB871879A21F22' 9 | ) 10 | 11 | console.log(safeCreationInfo) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/avalanche/-v1-safes-{address}-messages--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 43114n 5 | }) 6 | 7 | const safeAddress = '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 8 | 9 | const messages = await apiKit.getMessages(safeAddress) 10 | 11 | console.log(messages) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/avalanche/-v1-safes-{address}-module-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 43114n 5 | }) 6 | 7 | const moduleTransactions = await apiKit.getModuleTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(moduleTransactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/avalanche/-v1-safes-{address}-multisig-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 43114n 5 | }) 6 | 7 | const multisigTransactions = await apiKit.getMultisigTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(multisigTransactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/avalanche/-v1-tokens--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 43114n 5 | }) 6 | 7 | const tokenList = await apiKit.getTokenList() 8 | 9 | console.log(tokenList) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/avalanche/-v1-tokens-{address}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 43114n 5 | }) 6 | 7 | const token = await apiKit.getToken( 8 | '0x687e43D0aB3248bDfebFE3E8f9F1AB2B9FcE982d' 9 | ) 10 | 11 | console.log(token) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/avalanche/-v2-delegates--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 43114n 5 | }) 6 | 7 | const delegates = await apiKit.getSafeDelegates({ 8 | safeAddress: '0xb53a6b6f67847cff94fdb94b90345cb45a2c7301' 9 | }) 10 | 11 | console.log(delegates) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/base-sepolia/-v1-about--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 84532n 5 | }) 6 | 7 | const info = await apiKit.getServiceInfo() 8 | 9 | console.log(info) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/base-sepolia/-v1-about-singletons--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 84532n 5 | }) 6 | 7 | const info = await apiKit.getServiceSingletonsInfo() 8 | 9 | console.log(info) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/base-sepolia/-v1-contracts--get.ts: -------------------------------------------------------------------------------- 1 | export {} 2 | -------------------------------------------------------------------------------- /components/ApiReference/examples/base-sepolia/-v1-messages-{message_hash}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 84532n 5 | }) 6 | 7 | const messageHash = 8 | '0x950cfe6090e742b709ab5f662c10c8b4e06d403a2f8c4654d86af45d93fa3777' 9 | 10 | const message = await apiKit.getMessage(messageHash) 11 | 12 | console.log(message) 13 | -------------------------------------------------------------------------------- /components/ApiReference/examples/base-sepolia/-v1-modules-{address}-safes--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 84532n 5 | }) 6 | 7 | const safes = await apiKit.getSafesByModule( 8 | '0xB4F5e59987549a2586976e8957962dBD54a26FD0' 9 | ) 10 | 11 | console.log(safes) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/base-sepolia/-v1-owners-{address}-safes--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 84532n 5 | }) 6 | 7 | const safes = await apiKit.getSafesByOwner( 8 | '0xa6d3DEBAAB2B8093e69109f23A75501F864F74e2' 9 | ) 10 | 11 | console.log(safes) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/base-sepolia/-v1-safes-{address}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 84532n 5 | }) 6 | 7 | const safeInfo = await apiKit.getSafeInfo( 8 | '0x5298A93734C3D979eF1f23F78eBB871879A21F22' 9 | ) 10 | 11 | console.log(safeInfo) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/base-sepolia/-v1-safes-{address}-all-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 84532n 5 | }) 6 | 7 | const transactions = await apiKit.getAllTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(transactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/base-sepolia/-v1-safes-{address}-creation--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 84532n 5 | }) 6 | 7 | const safeCreationInfo = await apiKit.getSafeCreationInfo( 8 | '0x5298A93734C3D979eF1f23F78eBB871879A21F22' 9 | ) 10 | 11 | console.log(safeCreationInfo) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/base-sepolia/-v1-safes-{address}-messages--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 84532n 5 | }) 6 | 7 | const safeAddress = '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 8 | 9 | const messages = await apiKit.getMessages(safeAddress) 10 | 11 | console.log(messages) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/base-sepolia/-v1-safes-{address}-module-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 84532n 5 | }) 6 | 7 | const moduleTransactions = await apiKit.getModuleTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(moduleTransactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/base-sepolia/-v1-safes-{address}-multisig-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 84532n 5 | }) 6 | 7 | const multisigTransactions = await apiKit.getMultisigTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(multisigTransactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/base-sepolia/-v1-tokens--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 84532n 5 | }) 6 | 7 | const tokenList = await apiKit.getTokenList() 8 | 9 | console.log(tokenList) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/base-sepolia/-v1-tokens-{address}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 84532n 5 | }) 6 | 7 | const token = await apiKit.getToken( 8 | '0x687e43D0aB3248bDfebFE3E8f9F1AB2B9FcE982d' 9 | ) 10 | 11 | console.log(token) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/base-sepolia/-v2-delegates--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 84532n 5 | }) 6 | 7 | const delegates = await apiKit.getSafeDelegates({ 8 | safeAddress: '0xb53a6b6f67847cff94fdb94b90345cb45a2c7301' 9 | }) 10 | 11 | console.log(delegates) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/base/-v1-about--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 8453n 5 | }) 6 | 7 | const info = await apiKit.getServiceInfo() 8 | 9 | console.log(info) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/base/-v1-about-singletons--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 8453n 5 | }) 6 | 7 | const info = await apiKit.getServiceSingletonsInfo() 8 | 9 | console.log(info) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/base/-v1-contracts--get.ts: -------------------------------------------------------------------------------- 1 | export {} 2 | -------------------------------------------------------------------------------- /components/ApiReference/examples/base/-v1-data-decoder--post.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 8453n 5 | }) 6 | 7 | const data = await apiKit.decodeData( 8 | '0xa9059cbb0000000000000000000000005298a93734c3d979ef1f23f78ebb871879a21f220000000000000000000000000000000000000000000000008ac7230489e80000' 9 | ) 10 | 11 | console.log(data) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/base/-v1-messages-{message_hash}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 8453n 5 | }) 6 | 7 | const messageHash = 8 | '0x950cfe6090e742b709ab5f662c10c8b4e06d403a2f8c4654d86af45d93fa3777' 9 | 10 | const message = await apiKit.getMessage(messageHash) 11 | 12 | console.log(message) 13 | -------------------------------------------------------------------------------- /components/ApiReference/examples/base/-v1-modules-{address}-safes--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 8453n 5 | }) 6 | 7 | const safes = await apiKit.getSafesByModule( 8 | '0xB4F5e59987549a2586976e8957962dBD54a26FD0' 9 | ) 10 | 11 | console.log(safes) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/base/-v1-owners-{address}-safes--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 8453n 5 | }) 6 | 7 | const safes = await apiKit.getSafesByOwner( 8 | '0xa6d3DEBAAB2B8093e69109f23A75501F864F74e2' 9 | ) 10 | 11 | console.log(safes) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/base/-v1-safes-{address}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 8453n 5 | }) 6 | 7 | const safeInfo = await apiKit.getSafeInfo( 8 | '0x5298A93734C3D979eF1f23F78eBB871879A21F22' 9 | ) 10 | 11 | console.log(safeInfo) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/base/-v1-safes-{address}-all-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 8453n 5 | }) 6 | 7 | const transactions = await apiKit.getAllTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(transactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/base/-v1-safes-{address}-creation--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 8453n 5 | }) 6 | 7 | const safeCreationInfo = await apiKit.getSafeCreationInfo( 8 | '0x5298A93734C3D979eF1f23F78eBB871879A21F22' 9 | ) 10 | 11 | console.log(safeCreationInfo) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/base/-v1-safes-{address}-messages--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 8453n 5 | }) 6 | 7 | const safeAddress = '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 8 | 9 | const messages = await apiKit.getMessages(safeAddress) 10 | 11 | console.log(messages) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/base/-v1-safes-{address}-module-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 8453n 5 | }) 6 | 7 | const moduleTransactions = await apiKit.getModuleTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(moduleTransactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/base/-v1-safes-{address}-multisig-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 8453n 5 | }) 6 | 7 | const multisigTransactions = await apiKit.getMultisigTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(multisigTransactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/base/-v1-tokens--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 8453n 5 | }) 6 | 7 | const tokenList = await apiKit.getTokenList() 8 | 9 | console.log(tokenList) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/base/-v1-tokens-{address}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 8453n 5 | }) 6 | 7 | const token = await apiKit.getToken( 8 | '0x687e43D0aB3248bDfebFE3E8f9F1AB2B9FcE982d' 9 | ) 10 | 11 | console.log(token) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/base/-v2-delegates--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 8453n 5 | }) 6 | 7 | const delegates = await apiKit.getSafeDelegates({ 8 | safeAddress: '0xb53a6b6f67847cff94fdb94b90345cb45a2c7301' 9 | }) 10 | 11 | console.log(delegates) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/blast/-v1-about--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 81457n 5 | }) 6 | 7 | const info = await apiKit.getServiceInfo() 8 | 9 | console.log(info) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/blast/-v1-about-singletons--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 81457n 5 | }) 6 | 7 | const info = await apiKit.getServiceSingletonsInfo() 8 | 9 | console.log(info) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/blast/-v1-contracts--get.ts: -------------------------------------------------------------------------------- 1 | export {} 2 | -------------------------------------------------------------------------------- /components/ApiReference/examples/blast/-v1-data-decoder--post.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 81457n 5 | }) 6 | 7 | const data = await apiKit.decodeData( 8 | '0xa9059cbb0000000000000000000000005298a93734c3d979ef1f23f78ebb871879a21f220000000000000000000000000000000000000000000000008ac7230489e80000' 9 | ) 10 | 11 | console.log(data) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/blast/-v1-messages-{message_hash}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 81457n 5 | }) 6 | 7 | const messageHash = 8 | '0x950cfe6090e742b709ab5f662c10c8b4e06d403a2f8c4654d86af45d93fa3777' 9 | 10 | const message = await apiKit.getMessage(messageHash) 11 | 12 | console.log(message) 13 | -------------------------------------------------------------------------------- /components/ApiReference/examples/blast/-v1-modules-{address}-safes--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 81457n 5 | }) 6 | 7 | const safes = await apiKit.getSafesByModule( 8 | '0xB4F5e59987549a2586976e8957962dBD54a26FD0' 9 | ) 10 | 11 | console.log(safes) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/blast/-v1-owners-{address}-safes--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 81457n 5 | }) 6 | 7 | const safes = await apiKit.getSafesByOwner( 8 | '0xa6d3DEBAAB2B8093e69109f23A75501F864F74e2' 9 | ) 10 | 11 | console.log(safes) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/blast/-v1-safes-{address}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 81457n 5 | }) 6 | 7 | const safeInfo = await apiKit.getSafeInfo( 8 | '0x5298A93734C3D979eF1f23F78eBB871879A21F22' 9 | ) 10 | 11 | console.log(safeInfo) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/blast/-v1-safes-{address}-all-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 81457n 5 | }) 6 | 7 | const transactions = await apiKit.getAllTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(transactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/blast/-v1-safes-{address}-creation--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 81457n 5 | }) 6 | 7 | const safeCreationInfo = await apiKit.getSafeCreationInfo( 8 | '0x5298A93734C3D979eF1f23F78eBB871879A21F22' 9 | ) 10 | 11 | console.log(safeCreationInfo) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/blast/-v1-safes-{address}-messages--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 81457n 5 | }) 6 | 7 | const safeAddress = '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 8 | 9 | const messages = await apiKit.getMessages(safeAddress) 10 | 11 | console.log(messages) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/blast/-v1-safes-{address}-module-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 81457n 5 | }) 6 | 7 | const moduleTransactions = await apiKit.getModuleTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(moduleTransactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/blast/-v1-safes-{address}-multisig-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 81457n 5 | }) 6 | 7 | const multisigTransactions = await apiKit.getMultisigTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(multisigTransactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/blast/-v1-tokens--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 81457n 5 | }) 6 | 7 | const tokenList = await apiKit.getTokenList() 8 | 9 | console.log(tokenList) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/blast/-v1-tokens-{address}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 81457n 5 | }) 6 | 7 | const token = await apiKit.getToken( 8 | '0x687e43D0aB3248bDfebFE3E8f9F1AB2B9FcE982d' 9 | ) 10 | 11 | console.log(token) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/blast/-v2-delegates--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 81457n 5 | }) 6 | 7 | const delegates = await apiKit.getSafeDelegates({ 8 | safeAddress: '0xb53a6b6f67847cff94fdb94b90345cb45a2c7301' 9 | }) 10 | 11 | console.log(delegates) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/bsc/-v1-about--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 56n 5 | }) 6 | 7 | const info = await apiKit.getServiceInfo() 8 | 9 | console.log(info) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/bsc/-v1-about-singletons--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 56n 5 | }) 6 | 7 | const info = await apiKit.getServiceSingletonsInfo() 8 | 9 | console.log(info) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/bsc/-v1-contracts--get.ts: -------------------------------------------------------------------------------- 1 | export {} 2 | -------------------------------------------------------------------------------- /components/ApiReference/examples/bsc/-v1-data-decoder--post.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 56n 5 | }) 6 | 7 | const data = await apiKit.decodeData( 8 | '0xa9059cbb0000000000000000000000005298a93734c3d979ef1f23f78ebb871879a21f220000000000000000000000000000000000000000000000008ac7230489e80000' 9 | ) 10 | 11 | console.log(data) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/bsc/-v1-messages-{message_hash}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 56n 5 | }) 6 | 7 | const messageHash = 8 | '0x950cfe6090e742b709ab5f662c10c8b4e06d403a2f8c4654d86af45d93fa3777' 9 | 10 | const message = await apiKit.getMessage(messageHash) 11 | 12 | console.log(message) 13 | -------------------------------------------------------------------------------- /components/ApiReference/examples/bsc/-v1-modules-{address}-safes--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 56n 5 | }) 6 | 7 | const safes = await apiKit.getSafesByModule( 8 | '0xB4F5e59987549a2586976e8957962dBD54a26FD0' 9 | ) 10 | 11 | console.log(safes) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/bsc/-v1-owners-{address}-safes--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 56n 5 | }) 6 | 7 | const safes = await apiKit.getSafesByOwner( 8 | '0xa6d3DEBAAB2B8093e69109f23A75501F864F74e2' 9 | ) 10 | 11 | console.log(safes) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/bsc/-v1-safes-{address}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 56n 5 | }) 6 | 7 | const safeInfo = await apiKit.getSafeInfo( 8 | '0x5298A93734C3D979eF1f23F78eBB871879A21F22' 9 | ) 10 | 11 | console.log(safeInfo) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/bsc/-v1-safes-{address}-all-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 56n 5 | }) 6 | 7 | const transactions = await apiKit.getAllTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(transactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/bsc/-v1-safes-{address}-creation--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 56n 5 | }) 6 | 7 | const safeCreationInfo = await apiKit.getSafeCreationInfo( 8 | '0x5298A93734C3D979eF1f23F78eBB871879A21F22' 9 | ) 10 | 11 | console.log(safeCreationInfo) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/bsc/-v1-safes-{address}-messages--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 56n 5 | }) 6 | 7 | const safeAddress = '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 8 | 9 | const messages = await apiKit.getMessages(safeAddress) 10 | 11 | console.log(messages) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/bsc/-v1-safes-{address}-module-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 56n 5 | }) 6 | 7 | const moduleTransactions = await apiKit.getModuleTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(moduleTransactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/bsc/-v1-safes-{address}-multisig-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 56n 5 | }) 6 | 7 | const multisigTransactions = await apiKit.getMultisigTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(multisigTransactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/bsc/-v1-tokens--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 56n 5 | }) 6 | 7 | const tokenList = await apiKit.getTokenList() 8 | 9 | console.log(tokenList) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/bsc/-v1-tokens-{address}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 56n 5 | }) 6 | 7 | const token = await apiKit.getToken( 8 | '0x687e43D0aB3248bDfebFE3E8f9F1AB2B9FcE982d' 9 | ) 10 | 11 | console.log(token) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/bsc/-v2-delegates--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 56n 5 | }) 6 | 7 | const delegates = await apiKit.getSafeDelegates({ 8 | safeAddress: '0xb53a6b6f67847cff94fdb94b90345cb45a2c7301' 9 | }) 10 | 11 | console.log(delegates) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/celo/-v1-about--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 42220n 5 | }) 6 | 7 | const info = await apiKit.getServiceInfo() 8 | 9 | console.log(info) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/celo/-v1-about-singletons--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 42220n 5 | }) 6 | 7 | const info = await apiKit.getServiceSingletonsInfo() 8 | 9 | console.log(info) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/celo/-v1-contracts--get.ts: -------------------------------------------------------------------------------- 1 | export {} 2 | -------------------------------------------------------------------------------- /components/ApiReference/examples/celo/-v1-data-decoder--post.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 42220n 5 | }) 6 | 7 | const data = await apiKit.decodeData( 8 | '0xa9059cbb0000000000000000000000005298a93734c3d979ef1f23f78ebb871879a21f220000000000000000000000000000000000000000000000008ac7230489e80000' 9 | ) 10 | 11 | console.log(data) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/celo/-v1-messages-{message_hash}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 42220n 5 | }) 6 | 7 | const messageHash = 8 | '0x950cfe6090e742b709ab5f662c10c8b4e06d403a2f8c4654d86af45d93fa3777' 9 | 10 | const message = await apiKit.getMessage(messageHash) 11 | 12 | console.log(message) 13 | -------------------------------------------------------------------------------- /components/ApiReference/examples/celo/-v1-modules-{address}-safes--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 42220n 5 | }) 6 | 7 | const safes = await apiKit.getSafesByModule( 8 | '0xB4F5e59987549a2586976e8957962dBD54a26FD0' 9 | ) 10 | 11 | console.log(safes) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/celo/-v1-owners-{address}-safes--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 42220n 5 | }) 6 | 7 | const safes = await apiKit.getSafesByOwner( 8 | '0xa6d3DEBAAB2B8093e69109f23A75501F864F74e2' 9 | ) 10 | 11 | console.log(safes) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/celo/-v1-safes-{address}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 42220n 5 | }) 6 | 7 | const safeInfo = await apiKit.getSafeInfo( 8 | '0x5298A93734C3D979eF1f23F78eBB871879A21F22' 9 | ) 10 | 11 | console.log(safeInfo) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/celo/-v1-safes-{address}-all-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 42220n 5 | }) 6 | 7 | const transactions = await apiKit.getAllTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(transactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/celo/-v1-safes-{address}-creation--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 42220n 5 | }) 6 | 7 | const safeCreationInfo = await apiKit.getSafeCreationInfo( 8 | '0x5298A93734C3D979eF1f23F78eBB871879A21F22' 9 | ) 10 | 11 | console.log(safeCreationInfo) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/celo/-v1-safes-{address}-messages--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 42220n 5 | }) 6 | 7 | const safeAddress = '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 8 | 9 | const messages = await apiKit.getMessages(safeAddress) 10 | 11 | console.log(messages) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/celo/-v1-safes-{address}-module-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 42220n 5 | }) 6 | 7 | const moduleTransactions = await apiKit.getModuleTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(moduleTransactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/celo/-v1-safes-{address}-multisig-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 42220n 5 | }) 6 | 7 | const multisigTransactions = await apiKit.getMultisigTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(multisigTransactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/celo/-v1-tokens--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 42220n 5 | }) 6 | 7 | const tokenList = await apiKit.getTokenList() 8 | 9 | console.log(tokenList) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/celo/-v1-tokens-{address}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 42220n 5 | }) 6 | 7 | const token = await apiKit.getToken( 8 | '0x687e43D0aB3248bDfebFE3E8f9F1AB2B9FcE982d' 9 | ) 10 | 11 | console.log(token) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/celo/-v2-delegates--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 42220n 5 | }) 6 | 7 | const delegates = await apiKit.getSafeDelegates({ 8 | safeAddress: '0xb53a6b6f67847cff94fdb94b90345cb45a2c7301' 9 | }) 10 | 11 | console.log(delegates) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/chiado/-v1-about--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 10200n 5 | }) 6 | 7 | const info = await apiKit.getServiceInfo() 8 | 9 | console.log(info) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/chiado/-v1-about-singletons--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 10200n 5 | }) 6 | 7 | const info = await apiKit.getServiceSingletonsInfo() 8 | 9 | console.log(info) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/chiado/-v1-contracts--get.ts: -------------------------------------------------------------------------------- 1 | export {} 2 | -------------------------------------------------------------------------------- /components/ApiReference/examples/chiado/-v1-messages-{message_hash}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 10200n 5 | }) 6 | 7 | const messageHash = 8 | '0x950cfe6090e742b709ab5f662c10c8b4e06d403a2f8c4654d86af45d93fa3777' 9 | 10 | const message = await apiKit.getMessage(messageHash) 11 | 12 | console.log(message) 13 | -------------------------------------------------------------------------------- /components/ApiReference/examples/chiado/-v1-modules-{address}-safes--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 10200n 5 | }) 6 | 7 | const safes = await apiKit.getSafesByModule( 8 | '0xB4F5e59987549a2586976e8957962dBD54a26FD0' 9 | ) 10 | 11 | console.log(safes) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/chiado/-v1-owners-{address}-safes--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 10200n 5 | }) 6 | 7 | const safes = await apiKit.getSafesByOwner( 8 | '0xa6d3DEBAAB2B8093e69109f23A75501F864F74e2' 9 | ) 10 | 11 | console.log(safes) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/chiado/-v1-safes-{address}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 10200n 5 | }) 6 | 7 | const safeInfo = await apiKit.getSafeInfo( 8 | '0x5298A93734C3D979eF1f23F78eBB871879A21F22' 9 | ) 10 | 11 | console.log(safeInfo) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/chiado/-v1-safes-{address}-all-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 10200n 5 | }) 6 | 7 | const transactions = await apiKit.getAllTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(transactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/chiado/-v1-safes-{address}-creation--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 10200n 5 | }) 6 | 7 | const safeCreationInfo = await apiKit.getSafeCreationInfo( 8 | '0x5298A93734C3D979eF1f23F78eBB871879A21F22' 9 | ) 10 | 11 | console.log(safeCreationInfo) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/chiado/-v1-safes-{address}-messages--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 10200n 5 | }) 6 | 7 | const safeAddress = '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 8 | 9 | const messages = await apiKit.getMessages(safeAddress) 10 | 11 | console.log(messages) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/chiado/-v1-safes-{address}-module-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 10200n 5 | }) 6 | 7 | const moduleTransactions = await apiKit.getModuleTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(moduleTransactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/chiado/-v1-safes-{address}-multisig-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 10200n 5 | }) 6 | 7 | const multisigTransactions = await apiKit.getMultisigTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(multisigTransactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/chiado/-v1-tokens--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 10200n 5 | }) 6 | 7 | const tokenList = await apiKit.getTokenList() 8 | 9 | console.log(tokenList) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/chiado/-v1-tokens-{address}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 10200n 5 | }) 6 | 7 | const token = await apiKit.getToken( 8 | '0x687e43D0aB3248bDfebFE3E8f9F1AB2B9FcE982d' 9 | ) 10 | 11 | console.log(token) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/chiado/-v2-delegates--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 10200n 5 | }) 6 | 7 | const delegates = await apiKit.getSafeDelegates({ 8 | safeAddress: '0xb53a6b6f67847cff94fdb94b90345cb45a2c7301' 9 | }) 10 | 11 | console.log(delegates) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/gnosis-chain/-v1-about--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 100n 5 | }) 6 | 7 | const info = await apiKit.getServiceInfo() 8 | 9 | console.log(info) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/gnosis-chain/-v1-about-singletons--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 100n 5 | }) 6 | 7 | const info = await apiKit.getServiceSingletonsInfo() 8 | 9 | console.log(info) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/gnosis-chain/-v1-contracts--get.ts: -------------------------------------------------------------------------------- 1 | export {} 2 | -------------------------------------------------------------------------------- /components/ApiReference/examples/gnosis-chain/-v1-messages-{message_hash}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 100n 5 | }) 6 | 7 | const messageHash = 8 | '0x950cfe6090e742b709ab5f662c10c8b4e06d403a2f8c4654d86af45d93fa3777' 9 | 10 | const message = await apiKit.getMessage(messageHash) 11 | 12 | console.log(message) 13 | -------------------------------------------------------------------------------- /components/ApiReference/examples/gnosis-chain/-v1-modules-{address}-safes--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 100n 5 | }) 6 | 7 | const safes = await apiKit.getSafesByModule( 8 | '0xB4F5e59987549a2586976e8957962dBD54a26FD0' 9 | ) 10 | 11 | console.log(safes) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/gnosis-chain/-v1-owners-{address}-safes--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 100n 5 | }) 6 | 7 | const safes = await apiKit.getSafesByOwner( 8 | '0xa6d3DEBAAB2B8093e69109f23A75501F864F74e2' 9 | ) 10 | 11 | console.log(safes) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/gnosis-chain/-v1-safes-{address}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 100n 5 | }) 6 | 7 | const safeInfo = await apiKit.getSafeInfo( 8 | '0x5298A93734C3D979eF1f23F78eBB871879A21F22' 9 | ) 10 | 11 | console.log(safeInfo) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/gnosis-chain/-v1-safes-{address}-all-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 100n 5 | }) 6 | 7 | const transactions = await apiKit.getAllTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(transactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/gnosis-chain/-v1-safes-{address}-creation--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 100n 5 | }) 6 | 7 | const safeCreationInfo = await apiKit.getSafeCreationInfo( 8 | '0x5298A93734C3D979eF1f23F78eBB871879A21F22' 9 | ) 10 | 11 | console.log(safeCreationInfo) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/gnosis-chain/-v1-safes-{address}-messages--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 100n 5 | }) 6 | 7 | const safeAddress = '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 8 | 9 | const messages = await apiKit.getMessages(safeAddress) 10 | 11 | console.log(messages) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/gnosis-chain/-v1-safes-{address}-module-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 100n 5 | }) 6 | 7 | const moduleTransactions = await apiKit.getModuleTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(moduleTransactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/gnosis-chain/-v1-safes-{address}-multisig-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 100n 5 | }) 6 | 7 | const multisigTransactions = await apiKit.getMultisigTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(multisigTransactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/gnosis-chain/-v1-tokens--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 100n 5 | }) 6 | 7 | const tokenList = await apiKit.getTokenList() 8 | 9 | console.log(tokenList) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/gnosis-chain/-v1-tokens-{address}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 100n 5 | }) 6 | 7 | const token = await apiKit.getToken( 8 | '0x687e43D0aB3248bDfebFE3E8f9F1AB2B9FcE982d' 9 | ) 10 | 11 | console.log(token) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/gnosis-chain/-v2-delegates--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 100n 5 | }) 6 | 7 | const delegates = await apiKit.getSafeDelegates({ 8 | safeAddress: '0xb53a6b6f67847cff94fdb94b90345cb45a2c7301' 9 | }) 10 | 11 | console.log(delegates) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/linea/-v1-about--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 59144n 5 | }) 6 | 7 | const info = await apiKit.getServiceInfo() 8 | 9 | console.log(info) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/linea/-v1-about-singletons--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 59144n 5 | }) 6 | 7 | const info = await apiKit.getServiceSingletonsInfo() 8 | 9 | console.log(info) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/linea/-v1-contracts--get.ts: -------------------------------------------------------------------------------- 1 | export {} 2 | -------------------------------------------------------------------------------- /components/ApiReference/examples/linea/-v1-data-decoder--post.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 59144n 5 | }) 6 | 7 | const data = await apiKit.decodeData( 8 | '0xa9059cbb0000000000000000000000005298a93734c3d979ef1f23f78ebb871879a21f220000000000000000000000000000000000000000000000008ac7230489e80000' 9 | ) 10 | 11 | console.log(data) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/linea/-v1-messages-{message_hash}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 59144n 5 | }) 6 | 7 | const messageHash = 8 | '0x950cfe6090e742b709ab5f662c10c8b4e06d403a2f8c4654d86af45d93fa3777' 9 | 10 | const message = await apiKit.getMessage(messageHash) 11 | 12 | console.log(message) 13 | -------------------------------------------------------------------------------- /components/ApiReference/examples/linea/-v1-modules-{address}-safes--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 59144n 5 | }) 6 | 7 | const safes = await apiKit.getSafesByModule( 8 | '0xB4F5e59987549a2586976e8957962dBD54a26FD0' 9 | ) 10 | 11 | console.log(safes) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/linea/-v1-owners-{address}-safes--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 59144n 5 | }) 6 | 7 | const safes = await apiKit.getSafesByOwner( 8 | '0xa6d3DEBAAB2B8093e69109f23A75501F864F74e2' 9 | ) 10 | 11 | console.log(safes) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/linea/-v1-safes-{address}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 59144n 5 | }) 6 | 7 | const safeInfo = await apiKit.getSafeInfo( 8 | '0x5298A93734C3D979eF1f23F78eBB871879A21F22' 9 | ) 10 | 11 | console.log(safeInfo) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/linea/-v1-safes-{address}-all-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 59144n 5 | }) 6 | 7 | const transactions = await apiKit.getAllTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(transactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/linea/-v1-safes-{address}-creation--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 59144n 5 | }) 6 | 7 | const safeCreationInfo = await apiKit.getSafeCreationInfo( 8 | '0x5298A93734C3D979eF1f23F78eBB871879A21F22' 9 | ) 10 | 11 | console.log(safeCreationInfo) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/linea/-v1-safes-{address}-messages--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 59144n 5 | }) 6 | 7 | const safeAddress = '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 8 | 9 | const messages = await apiKit.getMessages(safeAddress) 10 | 11 | console.log(messages) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/linea/-v1-safes-{address}-module-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 59144n 5 | }) 6 | 7 | const moduleTransactions = await apiKit.getModuleTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(moduleTransactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/linea/-v1-safes-{address}-multisig-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 59144n 5 | }) 6 | 7 | const multisigTransactions = await apiKit.getMultisigTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(multisigTransactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/linea/-v1-tokens--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 59144n 5 | }) 6 | 7 | const tokenList = await apiKit.getTokenList() 8 | 9 | console.log(tokenList) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/linea/-v1-tokens-{address}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 59144n 5 | }) 6 | 7 | const token = await apiKit.getToken( 8 | '0x687e43D0aB3248bDfebFE3E8f9F1AB2B9FcE982d' 9 | ) 10 | 11 | console.log(token) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/linea/-v2-delegates--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 59144n 5 | }) 6 | 7 | const delegates = await apiKit.getSafeDelegates({ 8 | safeAddress: '0xb53a6b6f67847cff94fdb94b90345cb45a2c7301' 9 | }) 10 | 11 | console.log(delegates) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/mainnet/-v1-about--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 1n 5 | }) 6 | 7 | const info = await apiKit.getServiceInfo() 8 | 9 | console.log(info) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/mainnet/-v1-about-singletons--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 1n 5 | }) 6 | 7 | const info = await apiKit.getServiceSingletonsInfo() 8 | 9 | console.log(info) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/mainnet/-v1-contracts--get.ts: -------------------------------------------------------------------------------- 1 | export {} 2 | -------------------------------------------------------------------------------- /components/ApiReference/examples/mainnet/-v1-data-decoder--post.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 1n 5 | }) 6 | 7 | const data = await apiKit.decodeData( 8 | '0xa9059cbb0000000000000000000000005298a93734c3d979ef1f23f78ebb871879a21f220000000000000000000000000000000000000000000000008ac7230489e80000' 9 | ) 10 | 11 | console.log(data) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/mainnet/-v1-messages-{message_hash}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 1n 5 | }) 6 | 7 | const messageHash = 8 | '0x950cfe6090e742b709ab5f662c10c8b4e06d403a2f8c4654d86af45d93fa3777' 9 | 10 | const message = await apiKit.getMessage(messageHash) 11 | 12 | console.log(message) 13 | -------------------------------------------------------------------------------- /components/ApiReference/examples/mainnet/-v1-modules-{address}-safes--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 1n 5 | }) 6 | 7 | const safes = await apiKit.getSafesByModule( 8 | '0xB4F5e59987549a2586976e8957962dBD54a26FD0' 9 | ) 10 | 11 | console.log(safes) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/mainnet/-v1-owners-{address}-safes--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 1n 5 | }) 6 | 7 | const safes = await apiKit.getSafesByOwner( 8 | '0xa6d3DEBAAB2B8093e69109f23A75501F864F74e2' 9 | ) 10 | 11 | console.log(safes) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/mainnet/-v1-safes-{address}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 1n 5 | }) 6 | 7 | const safeInfo = await apiKit.getSafeInfo( 8 | '0x5298A93734C3D979eF1f23F78eBB871879A21F22' 9 | ) 10 | 11 | console.log(safeInfo) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/mainnet/-v1-safes-{address}-all-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 1n 5 | }) 6 | 7 | const transactions = await apiKit.getAllTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(transactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/mainnet/-v1-safes-{address}-creation--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 1n 5 | }) 6 | 7 | const safeCreationInfo = await apiKit.getSafeCreationInfo( 8 | '0x5298A93734C3D979eF1f23F78eBB871879A21F22' 9 | ) 10 | 11 | console.log(safeCreationInfo) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/mainnet/-v1-safes-{address}-messages--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 1n 5 | }) 6 | 7 | const safeAddress = '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 8 | 9 | const messages = await apiKit.getMessages(safeAddress) 10 | 11 | console.log(messages) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/mainnet/-v1-safes-{address}-module-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 1n 5 | }) 6 | 7 | const moduleTransactions = await apiKit.getModuleTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(moduleTransactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/mainnet/-v1-safes-{address}-multisig-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 1n 5 | }) 6 | 7 | const multisigTransactions = await apiKit.getMultisigTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(multisigTransactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/mainnet/-v1-tokens--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 1n 5 | }) 6 | 7 | const tokenList = await apiKit.getTokenList() 8 | 9 | console.log(tokenList) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/mainnet/-v1-tokens-{address}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 1n 5 | }) 6 | 7 | const token = await apiKit.getToken( 8 | '0x687e43D0aB3248bDfebFE3E8f9F1AB2B9FcE982d' 9 | ) 10 | 11 | console.log(token) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/mainnet/-v2-delegates--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 1n 5 | }) 6 | 7 | const delegates = await apiKit.getSafeDelegates({ 8 | safeAddress: '0xb53a6b6f67847cff94fdb94b90345cb45a2c7301' 9 | }) 10 | 11 | console.log(delegates) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/mantle/-v1-about--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 5000n 5 | }) 6 | 7 | const info = await apiKit.getServiceInfo() 8 | 9 | console.log(info) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/mantle/-v1-about-singletons--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 5000n 5 | }) 6 | 7 | const info = await apiKit.getServiceSingletonsInfo() 8 | 9 | console.log(info) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/mantle/-v1-contracts--get.ts: -------------------------------------------------------------------------------- 1 | export {} 2 | -------------------------------------------------------------------------------- /components/ApiReference/examples/mantle/-v1-data-decoder--post.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 5000n 5 | }) 6 | 7 | const data = await apiKit.decodeData( 8 | '0xa9059cbb0000000000000000000000005298a93734c3d979ef1f23f78ebb871879a21f220000000000000000000000000000000000000000000000008ac7230489e80000' 9 | ) 10 | 11 | console.log(data) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/mantle/-v1-messages-{message_hash}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 5000n 5 | }) 6 | 7 | const messageHash = 8 | '0x950cfe6090e742b709ab5f662c10c8b4e06d403a2f8c4654d86af45d93fa3777' 9 | 10 | const message = await apiKit.getMessage(messageHash) 11 | 12 | console.log(message) 13 | -------------------------------------------------------------------------------- /components/ApiReference/examples/mantle/-v1-modules-{address}-safes--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 5000n 5 | }) 6 | 7 | const safes = await apiKit.getSafesByModule( 8 | '0xB4F5e59987549a2586976e8957962dBD54a26FD0' 9 | ) 10 | 11 | console.log(safes) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/mantle/-v1-owners-{address}-safes--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 5000n 5 | }) 6 | 7 | const safes = await apiKit.getSafesByOwner( 8 | '0xa6d3DEBAAB2B8093e69109f23A75501F864F74e2' 9 | ) 10 | 11 | console.log(safes) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/mantle/-v1-safes-{address}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 5000n 5 | }) 6 | 7 | const safeInfo = await apiKit.getSafeInfo( 8 | '0x5298A93734C3D979eF1f23F78eBB871879A21F22' 9 | ) 10 | 11 | console.log(safeInfo) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/mantle/-v1-safes-{address}-all-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 5000n 5 | }) 6 | 7 | const transactions = await apiKit.getAllTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(transactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/mantle/-v1-safes-{address}-creation--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 5000n 5 | }) 6 | 7 | const safeCreationInfo = await apiKit.getSafeCreationInfo( 8 | '0x5298A93734C3D979eF1f23F78eBB871879A21F22' 9 | ) 10 | 11 | console.log(safeCreationInfo) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/mantle/-v1-safes-{address}-messages--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 5000n 5 | }) 6 | 7 | const safeAddress = '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 8 | 9 | const messages = await apiKit.getMessages(safeAddress) 10 | 11 | console.log(messages) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/mantle/-v1-safes-{address}-module-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 5000n 5 | }) 6 | 7 | const moduleTransactions = await apiKit.getModuleTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(moduleTransactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/mantle/-v1-safes-{address}-multisig-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 5000n 5 | }) 6 | 7 | const multisigTransactions = await apiKit.getMultisigTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(multisigTransactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/mantle/-v1-tokens--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 5000n 5 | }) 6 | 7 | const tokenList = await apiKit.getTokenList() 8 | 9 | console.log(tokenList) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/mantle/-v1-tokens-{address}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 5000n 5 | }) 6 | 7 | const token = await apiKit.getToken( 8 | '0x687e43D0aB3248bDfebFE3E8f9F1AB2B9FcE982d' 9 | ) 10 | 11 | console.log(token) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/mantle/-v2-delegates--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 5000n 5 | }) 6 | 7 | const delegates = await apiKit.getSafeDelegates({ 8 | safeAddress: '0xb53a6b6f67847cff94fdb94b90345cb45a2c7301' 9 | }) 10 | 11 | console.log(delegates) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/optimism/-v1-about--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 10n 5 | }) 6 | 7 | const info = await apiKit.getServiceInfo() 8 | 9 | console.log(info) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/optimism/-v1-about-singletons--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 10n 5 | }) 6 | 7 | const info = await apiKit.getServiceSingletonsInfo() 8 | 9 | console.log(info) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/optimism/-v1-contracts--get.ts: -------------------------------------------------------------------------------- 1 | export {} 2 | -------------------------------------------------------------------------------- /components/ApiReference/examples/optimism/-v1-data-decoder--post.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 10n 5 | }) 6 | 7 | const data = await apiKit.decodeData( 8 | '0xa9059cbb0000000000000000000000005298a93734c3d979ef1f23f78ebb871879a21f220000000000000000000000000000000000000000000000008ac7230489e80000' 9 | ) 10 | 11 | console.log(data) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/optimism/-v1-messages-{message_hash}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 10n 5 | }) 6 | 7 | const messageHash = 8 | '0x950cfe6090e742b709ab5f662c10c8b4e06d403a2f8c4654d86af45d93fa3777' 9 | 10 | const message = await apiKit.getMessage(messageHash) 11 | 12 | console.log(message) 13 | -------------------------------------------------------------------------------- /components/ApiReference/examples/optimism/-v1-modules-{address}-safes--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 10n 5 | }) 6 | 7 | const safes = await apiKit.getSafesByModule( 8 | '0xB4F5e59987549a2586976e8957962dBD54a26FD0' 9 | ) 10 | 11 | console.log(safes) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/optimism/-v1-owners-{address}-safes--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 10n 5 | }) 6 | 7 | const safes = await apiKit.getSafesByOwner( 8 | '0xa6d3DEBAAB2B8093e69109f23A75501F864F74e2' 9 | ) 10 | 11 | console.log(safes) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/optimism/-v1-safes-{address}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 10n 5 | }) 6 | 7 | const safeInfo = await apiKit.getSafeInfo( 8 | '0x5298A93734C3D979eF1f23F78eBB871879A21F22' 9 | ) 10 | 11 | console.log(safeInfo) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/optimism/-v1-safes-{address}-all-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 10n 5 | }) 6 | 7 | const transactions = await apiKit.getAllTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(transactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/optimism/-v1-safes-{address}-creation--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 10n 5 | }) 6 | 7 | const safeCreationInfo = await apiKit.getSafeCreationInfo( 8 | '0x5298A93734C3D979eF1f23F78eBB871879A21F22' 9 | ) 10 | 11 | console.log(safeCreationInfo) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/optimism/-v1-safes-{address}-messages--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 10n 5 | }) 6 | 7 | const safeAddress = '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 8 | 9 | const messages = await apiKit.getMessages(safeAddress) 10 | 11 | console.log(messages) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/optimism/-v1-safes-{address}-module-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 10n 5 | }) 6 | 7 | const moduleTransactions = await apiKit.getModuleTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(moduleTransactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/optimism/-v1-safes-{address}-multisig-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 10n 5 | }) 6 | 7 | const multisigTransactions = await apiKit.getMultisigTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(multisigTransactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/optimism/-v1-tokens--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 10n 5 | }) 6 | 7 | const tokenList = await apiKit.getTokenList() 8 | 9 | console.log(tokenList) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/optimism/-v1-tokens-{address}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 10n 5 | }) 6 | 7 | const token = await apiKit.getToken( 8 | '0x687e43D0aB3248bDfebFE3E8f9F1AB2B9FcE982d' 9 | ) 10 | 11 | console.log(token) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/optimism/-v2-delegates--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 10n 5 | }) 6 | 7 | const delegates = await apiKit.getSafeDelegates({ 8 | safeAddress: '0xb53a6b6f67847cff94fdb94b90345cb45a2c7301' 9 | }) 10 | 11 | console.log(delegates) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/polygon/-v1-about--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 137n 5 | }) 6 | 7 | const info = await apiKit.getServiceInfo() 8 | 9 | console.log(info) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/polygon/-v1-about-singletons--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 137n 5 | }) 6 | 7 | const info = await apiKit.getServiceSingletonsInfo() 8 | 9 | console.log(info) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/polygon/-v1-contracts--get.ts: -------------------------------------------------------------------------------- 1 | export {} 2 | -------------------------------------------------------------------------------- /components/ApiReference/examples/polygon/-v1-data-decoder--post.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 137n 5 | }) 6 | 7 | const data = await apiKit.decodeData( 8 | '0xa9059cbb0000000000000000000000005298a93734c3d979ef1f23f78ebb871879a21f220000000000000000000000000000000000000000000000008ac7230489e80000' 9 | ) 10 | 11 | console.log(data) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/polygon/-v1-messages-{message_hash}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 137n 5 | }) 6 | 7 | const messageHash = 8 | '0x950cfe6090e742b709ab5f662c10c8b4e06d403a2f8c4654d86af45d93fa3777' 9 | 10 | const message = await apiKit.getMessage(messageHash) 11 | 12 | console.log(message) 13 | -------------------------------------------------------------------------------- /components/ApiReference/examples/polygon/-v1-modules-{address}-safes--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 137n 5 | }) 6 | 7 | const safes = await apiKit.getSafesByModule( 8 | '0xB4F5e59987549a2586976e8957962dBD54a26FD0' 9 | ) 10 | 11 | console.log(safes) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/polygon/-v1-owners-{address}-safes--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 137n 5 | }) 6 | 7 | const safes = await apiKit.getSafesByOwner( 8 | '0xa6d3DEBAAB2B8093e69109f23A75501F864F74e2' 9 | ) 10 | 11 | console.log(safes) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/polygon/-v1-safes-{address}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 137n 5 | }) 6 | 7 | const safeInfo = await apiKit.getSafeInfo( 8 | '0x5298A93734C3D979eF1f23F78eBB871879A21F22' 9 | ) 10 | 11 | console.log(safeInfo) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/polygon/-v1-safes-{address}-all-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 137n 5 | }) 6 | 7 | const transactions = await apiKit.getAllTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(transactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/polygon/-v1-safes-{address}-creation--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 137n 5 | }) 6 | 7 | const safeCreationInfo = await apiKit.getSafeCreationInfo( 8 | '0x5298A93734C3D979eF1f23F78eBB871879A21F22' 9 | ) 10 | 11 | console.log(safeCreationInfo) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/polygon/-v1-safes-{address}-messages--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 137n 5 | }) 6 | 7 | const safeAddress = '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 8 | 9 | const messages = await apiKit.getMessages(safeAddress) 10 | 11 | console.log(messages) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/polygon/-v1-safes-{address}-module-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 137n 5 | }) 6 | 7 | const moduleTransactions = await apiKit.getModuleTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(moduleTransactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/polygon/-v1-safes-{address}-multisig-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 137n 5 | }) 6 | 7 | const multisigTransactions = await apiKit.getMultisigTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(multisigTransactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/polygon/-v1-tokens--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 137n 5 | }) 6 | 7 | const tokenList = await apiKit.getTokenList() 8 | 9 | console.log(tokenList) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/polygon/-v1-tokens-{address}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 137n 5 | }) 6 | 7 | const token = await apiKit.getToken( 8 | '0x687e43D0aB3248bDfebFE3E8f9F1AB2B9FcE982d' 9 | ) 10 | 11 | console.log(token) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/polygon/-v2-delegates--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 137n 5 | }) 6 | 7 | const delegates = await apiKit.getSafeDelegates({ 8 | safeAddress: '0xb53a6b6f67847cff94fdb94b90345cb45a2c7301' 9 | }) 10 | 11 | console.log(delegates) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/scroll/-v1-about--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 534352n 5 | }) 6 | 7 | const info = await apiKit.getServiceInfo() 8 | 9 | console.log(info) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/scroll/-v1-about-singletons--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 534352n 5 | }) 6 | 7 | const info = await apiKit.getServiceSingletonsInfo() 8 | 9 | console.log(info) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/scroll/-v1-contracts--get.ts: -------------------------------------------------------------------------------- 1 | export {} 2 | -------------------------------------------------------------------------------- /components/ApiReference/examples/scroll/-v1-messages-{message_hash}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 534352n 5 | }) 6 | 7 | const messageHash = 8 | '0x950cfe6090e742b709ab5f662c10c8b4e06d403a2f8c4654d86af45d93fa3777' 9 | 10 | const message = await apiKit.getMessage(messageHash) 11 | 12 | console.log(message) 13 | -------------------------------------------------------------------------------- /components/ApiReference/examples/scroll/-v1-modules-{address}-safes--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 534352n 5 | }) 6 | 7 | const safes = await apiKit.getSafesByModule( 8 | '0xB4F5e59987549a2586976e8957962dBD54a26FD0' 9 | ) 10 | 11 | console.log(safes) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/scroll/-v1-owners-{address}-safes--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 534352n 5 | }) 6 | 7 | const safes = await apiKit.getSafesByOwner( 8 | '0xa6d3DEBAAB2B8093e69109f23A75501F864F74e2' 9 | ) 10 | 11 | console.log(safes) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/scroll/-v1-safes-{address}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 534352n 5 | }) 6 | 7 | const safeInfo = await apiKit.getSafeInfo( 8 | '0x5298A93734C3D979eF1f23F78eBB871879A21F22' 9 | ) 10 | 11 | console.log(safeInfo) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/scroll/-v1-safes-{address}-all-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 534352n 5 | }) 6 | 7 | const transactions = await apiKit.getAllTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(transactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/scroll/-v1-safes-{address}-creation--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 534352n 5 | }) 6 | 7 | const safeCreationInfo = await apiKit.getSafeCreationInfo( 8 | '0x5298A93734C3D979eF1f23F78eBB871879A21F22' 9 | ) 10 | 11 | console.log(safeCreationInfo) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/scroll/-v1-safes-{address}-messages--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 534352n 5 | }) 6 | 7 | const safeAddress = '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 8 | 9 | const messages = await apiKit.getMessages(safeAddress) 10 | 11 | console.log(messages) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/scroll/-v1-safes-{address}-module-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 534352n 5 | }) 6 | 7 | const moduleTransactions = await apiKit.getModuleTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(moduleTransactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/scroll/-v1-safes-{address}-multisig-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 534352n 5 | }) 6 | 7 | const multisigTransactions = await apiKit.getMultisigTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(multisigTransactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/scroll/-v1-tokens--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 534352n 5 | }) 6 | 7 | const tokenList = await apiKit.getTokenList() 8 | 9 | console.log(tokenList) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/scroll/-v1-tokens-{address}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 534352n 5 | }) 6 | 7 | const token = await apiKit.getToken( 8 | '0x687e43D0aB3248bDfebFE3E8f9F1AB2B9FcE982d' 9 | ) 10 | 11 | console.log(token) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/scroll/-v2-delegates--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 534352n 5 | }) 6 | 7 | const delegates = await apiKit.getSafeDelegates({ 8 | safeAddress: '0xb53a6b6f67847cff94fdb94b90345cb45a2c7301' 9 | }) 10 | 11 | console.log(delegates) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/sepolia/-v1-about--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 11155111n 5 | }) 6 | 7 | const info = await apiKit.getServiceInfo() 8 | 9 | console.log(info) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/sepolia/-v1-about-singletons--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 11155111n 5 | }) 6 | 7 | const info = await apiKit.getServiceSingletonsInfo() 8 | 9 | console.log(info) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/sepolia/-v1-contracts--get.ts: -------------------------------------------------------------------------------- 1 | export {} 2 | -------------------------------------------------------------------------------- /components/ApiReference/examples/sepolia/-v1-messages-{message_hash}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 11155111n 5 | }) 6 | 7 | const messageHash = 8 | '0x950cfe6090e742b709ab5f662c10c8b4e06d403a2f8c4654d86af45d93fa3777' 9 | 10 | const message = await apiKit.getMessage(messageHash) 11 | 12 | console.log(message) 13 | -------------------------------------------------------------------------------- /components/ApiReference/examples/sepolia/-v1-modules-{address}-safes--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 11155111n 5 | }) 6 | 7 | const safes = await apiKit.getSafesByModule( 8 | '0xB4F5e59987549a2586976e8957962dBD54a26FD0' 9 | ) 10 | 11 | console.log(safes) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/sepolia/-v1-owners-{address}-safes--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 11155111n 5 | }) 6 | 7 | const safes = await apiKit.getSafesByOwner( 8 | '0xa6d3DEBAAB2B8093e69109f23A75501F864F74e2' 9 | ) 10 | 11 | console.log(safes) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/sepolia/-v1-safes-{address}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 11155111n 5 | }) 6 | 7 | const safeInfo = await apiKit.getSafeInfo( 8 | '0x5298A93734C3D979eF1f23F78eBB871879A21F22' 9 | ) 10 | 11 | console.log(safeInfo) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/sepolia/-v1-safes-{address}-all-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 11155111n 5 | }) 6 | 7 | const transactions = await apiKit.getAllTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(transactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/sepolia/-v1-safes-{address}-creation--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 11155111n 5 | }) 6 | 7 | const safeCreationInfo = await apiKit.getSafeCreationInfo( 8 | '0x5298A93734C3D979eF1f23F78eBB871879A21F22' 9 | ) 10 | 11 | console.log(safeCreationInfo) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/sepolia/-v1-safes-{address}-messages--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 11155111n 5 | }) 6 | 7 | const safeAddress = '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 8 | 9 | const messages = await apiKit.getMessages(safeAddress) 10 | 11 | console.log(messages) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/sepolia/-v1-safes-{address}-module-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 11155111n 5 | }) 6 | 7 | const moduleTransactions = await apiKit.getModuleTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(moduleTransactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/sepolia/-v1-safes-{address}-multisig-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 11155111n 5 | }) 6 | 7 | const multisigTransactions = await apiKit.getMultisigTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(multisigTransactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/sepolia/-v1-tokens--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 11155111n 5 | }) 6 | 7 | const tokenList = await apiKit.getTokenList() 8 | 9 | console.log(tokenList) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/sepolia/-v1-tokens-{address}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 11155111n 5 | }) 6 | 7 | const token = await apiKit.getToken( 8 | '0x687e43D0aB3248bDfebFE3E8f9F1AB2B9FcE982d' 9 | ) 10 | 11 | console.log(token) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/sepolia/-v2-delegates--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 11155111n 5 | }) 6 | 7 | const delegates = await apiKit.getSafeDelegates({ 8 | safeAddress: '0xb53a6b6f67847cff94fdb94b90345cb45a2c7301' 9 | }) 10 | 11 | console.log(delegates) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/worldchain/-v1-about--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 480n 5 | }) 6 | 7 | const info = await apiKit.getServiceInfo() 8 | 9 | console.log(info) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/worldchain/-v1-about-singletons--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 480n 5 | }) 6 | 7 | const info = await apiKit.getServiceSingletonsInfo() 8 | 9 | console.log(info) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/worldchain/-v1-contracts--get.ts: -------------------------------------------------------------------------------- 1 | export {} 2 | -------------------------------------------------------------------------------- /components/ApiReference/examples/worldchain/-v1-messages-{message_hash}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 480n 5 | }) 6 | 7 | const messageHash = 8 | '0x950cfe6090e742b709ab5f662c10c8b4e06d403a2f8c4654d86af45d93fa3777' 9 | 10 | const message = await apiKit.getMessage(messageHash) 11 | 12 | console.log(message) 13 | -------------------------------------------------------------------------------- /components/ApiReference/examples/worldchain/-v1-modules-{address}-safes--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 480n 5 | }) 6 | 7 | const safes = await apiKit.getSafesByModule( 8 | '0xB4F5e59987549a2586976e8957962dBD54a26FD0' 9 | ) 10 | 11 | console.log(safes) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/worldchain/-v1-owners-{address}-safes--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 480n 5 | }) 6 | 7 | const safes = await apiKit.getSafesByOwner( 8 | '0xa6d3DEBAAB2B8093e69109f23A75501F864F74e2' 9 | ) 10 | 11 | console.log(safes) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/worldchain/-v1-safes-{address}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 480n 5 | }) 6 | 7 | const safeInfo = await apiKit.getSafeInfo( 8 | '0x5298A93734C3D979eF1f23F78eBB871879A21F22' 9 | ) 10 | 11 | console.log(safeInfo) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/worldchain/-v1-safes-{address}-all-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 480n 5 | }) 6 | 7 | const transactions = await apiKit.getAllTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(transactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/worldchain/-v1-safes-{address}-creation--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 480n 5 | }) 6 | 7 | const safeCreationInfo = await apiKit.getSafeCreationInfo( 8 | '0x5298A93734C3D979eF1f23F78eBB871879A21F22' 9 | ) 10 | 11 | console.log(safeCreationInfo) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/worldchain/-v1-safes-{address}-messages--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 480n 5 | }) 6 | 7 | const safeAddress = '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 8 | 9 | const messages = await apiKit.getMessages(safeAddress) 10 | 11 | console.log(messages) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/worldchain/-v1-safes-{address}-module-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 480n 5 | }) 6 | 7 | const moduleTransactions = await apiKit.getModuleTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(moduleTransactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/worldchain/-v1-safes-{address}-multisig-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 480n 5 | }) 6 | 7 | const multisigTransactions = await apiKit.getMultisigTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(multisigTransactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/worldchain/-v1-tokens--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 480n 5 | }) 6 | 7 | const tokenList = await apiKit.getTokenList() 8 | 9 | console.log(tokenList) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/worldchain/-v1-tokens-{address}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 480n 5 | }) 6 | 7 | const token = await apiKit.getToken( 8 | '0x687e43D0aB3248bDfebFE3E8f9F1AB2B9FcE982d' 9 | ) 10 | 11 | console.log(token) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/worldchain/-v2-delegates--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 480n 5 | }) 6 | 7 | const delegates = await apiKit.getSafeDelegates({ 8 | safeAddress: '0xb53a6b6f67847cff94fdb94b90345cb45a2c7301' 9 | }) 10 | 11 | console.log(delegates) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/xlayer/-v1-about--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 196n 5 | }) 6 | 7 | const info = await apiKit.getServiceInfo() 8 | 9 | console.log(info) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/xlayer/-v1-about-singletons--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 196n 5 | }) 6 | 7 | const info = await apiKit.getServiceSingletonsInfo() 8 | 9 | console.log(info) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/xlayer/-v1-contracts--get.ts: -------------------------------------------------------------------------------- 1 | export {} 2 | -------------------------------------------------------------------------------- /components/ApiReference/examples/xlayer/-v1-data-decoder--post.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 196n 5 | }) 6 | 7 | const data = await apiKit.decodeData( 8 | '0xa9059cbb0000000000000000000000005298a93734c3d979ef1f23f78ebb871879a21f220000000000000000000000000000000000000000000000008ac7230489e80000' 9 | ) 10 | 11 | console.log(data) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/xlayer/-v1-messages-{message_hash}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 196n 5 | }) 6 | 7 | const messageHash = 8 | '0x950cfe6090e742b709ab5f662c10c8b4e06d403a2f8c4654d86af45d93fa3777' 9 | 10 | const message = await apiKit.getMessage(messageHash) 11 | 12 | console.log(message) 13 | -------------------------------------------------------------------------------- /components/ApiReference/examples/xlayer/-v1-modules-{address}-safes--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 196n 5 | }) 6 | 7 | const safes = await apiKit.getSafesByModule( 8 | '0xB4F5e59987549a2586976e8957962dBD54a26FD0' 9 | ) 10 | 11 | console.log(safes) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/xlayer/-v1-owners-{address}-safes--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 196n 5 | }) 6 | 7 | const safes = await apiKit.getSafesByOwner( 8 | '0xa6d3DEBAAB2B8093e69109f23A75501F864F74e2' 9 | ) 10 | 11 | console.log(safes) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/xlayer/-v1-safes-{address}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 196n 5 | }) 6 | 7 | const safeInfo = await apiKit.getSafeInfo( 8 | '0x5298A93734C3D979eF1f23F78eBB871879A21F22' 9 | ) 10 | 11 | console.log(safeInfo) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/xlayer/-v1-safes-{address}-all-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 196n 5 | }) 6 | 7 | const transactions = await apiKit.getAllTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(transactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/xlayer/-v1-safes-{address}-creation--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 196n 5 | }) 6 | 7 | const safeCreationInfo = await apiKit.getSafeCreationInfo( 8 | '0x5298A93734C3D979eF1f23F78eBB871879A21F22' 9 | ) 10 | 11 | console.log(safeCreationInfo) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/xlayer/-v1-safes-{address}-messages--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 196n 5 | }) 6 | 7 | const safeAddress = '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 8 | 9 | const messages = await apiKit.getMessages(safeAddress) 10 | 11 | console.log(messages) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/xlayer/-v1-safes-{address}-module-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 196n 5 | }) 6 | 7 | const moduleTransactions = await apiKit.getModuleTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(moduleTransactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/xlayer/-v1-safes-{address}-multisig-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 196n 5 | }) 6 | 7 | const multisigTransactions = await apiKit.getMultisigTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(multisigTransactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/xlayer/-v1-tokens--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 196n 5 | }) 6 | 7 | const tokenList = await apiKit.getTokenList() 8 | 9 | console.log(tokenList) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/xlayer/-v1-tokens-{address}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 196n 5 | }) 6 | 7 | const token = await apiKit.getToken( 8 | '0x687e43D0aB3248bDfebFE3E8f9F1AB2B9FcE982d' 9 | ) 10 | 11 | console.log(token) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/xlayer/-v2-delegates--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 196n 5 | }) 6 | 7 | const delegates = await apiKit.getSafeDelegates({ 8 | safeAddress: '0xb53a6b6f67847cff94fdb94b90345cb45a2c7301' 9 | }) 10 | 11 | console.log(delegates) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/zkevm/-v1-about--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 1101n 5 | }) 6 | 7 | const info = await apiKit.getServiceInfo() 8 | 9 | console.log(info) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/zkevm/-v1-about-singletons--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 1101n 5 | }) 6 | 7 | const info = await apiKit.getServiceSingletonsInfo() 8 | 9 | console.log(info) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/zkevm/-v1-contracts--get.ts: -------------------------------------------------------------------------------- 1 | export {} 2 | -------------------------------------------------------------------------------- /components/ApiReference/examples/zkevm/-v1-data-decoder--post.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 1101n 5 | }) 6 | 7 | const data = await apiKit.decodeData( 8 | '0xa9059cbb0000000000000000000000005298a93734c3d979ef1f23f78ebb871879a21f220000000000000000000000000000000000000000000000008ac7230489e80000' 9 | ) 10 | 11 | console.log(data) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/zkevm/-v1-messages-{message_hash}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 1101n 5 | }) 6 | 7 | const messageHash = 8 | '0x950cfe6090e742b709ab5f662c10c8b4e06d403a2f8c4654d86af45d93fa3777' 9 | 10 | const message = await apiKit.getMessage(messageHash) 11 | 12 | console.log(message) 13 | -------------------------------------------------------------------------------- /components/ApiReference/examples/zkevm/-v1-modules-{address}-safes--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 1101n 5 | }) 6 | 7 | const safes = await apiKit.getSafesByModule( 8 | '0xB4F5e59987549a2586976e8957962dBD54a26FD0' 9 | ) 10 | 11 | console.log(safes) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/zkevm/-v1-owners-{address}-safes--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 1101n 5 | }) 6 | 7 | const safes = await apiKit.getSafesByOwner( 8 | '0xa6d3DEBAAB2B8093e69109f23A75501F864F74e2' 9 | ) 10 | 11 | console.log(safes) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/zkevm/-v1-safes-{address}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 1101n 5 | }) 6 | 7 | const safeInfo = await apiKit.getSafeInfo( 8 | '0x5298A93734C3D979eF1f23F78eBB871879A21F22' 9 | ) 10 | 11 | console.log(safeInfo) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/zkevm/-v1-safes-{address}-all-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 1101n 5 | }) 6 | 7 | const transactions = await apiKit.getAllTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(transactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/zkevm/-v1-safes-{address}-creation--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 1101n 5 | }) 6 | 7 | const safeCreationInfo = await apiKit.getSafeCreationInfo( 8 | '0x5298A93734C3D979eF1f23F78eBB871879A21F22' 9 | ) 10 | 11 | console.log(safeCreationInfo) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/zkevm/-v1-safes-{address}-messages--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 1101n 5 | }) 6 | 7 | const safeAddress = '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 8 | 9 | const messages = await apiKit.getMessages(safeAddress) 10 | 11 | console.log(messages) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/zkevm/-v1-safes-{address}-module-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 1101n 5 | }) 6 | 7 | const moduleTransactions = await apiKit.getModuleTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(moduleTransactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/zkevm/-v1-safes-{address}-multisig-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 1101n 5 | }) 6 | 7 | const multisigTransactions = await apiKit.getMultisigTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(multisigTransactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/zkevm/-v1-tokens--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 1101n 5 | }) 6 | 7 | const tokenList = await apiKit.getTokenList() 8 | 9 | console.log(tokenList) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/zkevm/-v1-tokens-{address}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 1101n 5 | }) 6 | 7 | const token = await apiKit.getToken( 8 | '0x687e43D0aB3248bDfebFE3E8f9F1AB2B9FcE982d' 9 | ) 10 | 11 | console.log(token) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/zkevm/-v2-delegates--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 1101n 5 | }) 6 | 7 | const delegates = await apiKit.getSafeDelegates({ 8 | safeAddress: '0xb53a6b6f67847cff94fdb94b90345cb45a2c7301' 9 | }) 10 | 11 | console.log(delegates) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/zksync/-v1-about--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 324n 5 | }) 6 | 7 | const info = await apiKit.getServiceInfo() 8 | 9 | console.log(info) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/zksync/-v1-about-singletons--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 324n 5 | }) 6 | 7 | const info = await apiKit.getServiceSingletonsInfo() 8 | 9 | console.log(info) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/zksync/-v1-contracts--get.ts: -------------------------------------------------------------------------------- 1 | export {} 2 | -------------------------------------------------------------------------------- /components/ApiReference/examples/zksync/-v1-data-decoder--post.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 324n 5 | }) 6 | 7 | const data = await apiKit.decodeData( 8 | '0xa9059cbb0000000000000000000000005298a93734c3d979ef1f23f78ebb871879a21f220000000000000000000000000000000000000000000000008ac7230489e80000' 9 | ) 10 | 11 | console.log(data) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/zksync/-v1-messages-{message_hash}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 324n 5 | }) 6 | 7 | const messageHash = 8 | '0x950cfe6090e742b709ab5f662c10c8b4e06d403a2f8c4654d86af45d93fa3777' 9 | 10 | const message = await apiKit.getMessage(messageHash) 11 | 12 | console.log(message) 13 | -------------------------------------------------------------------------------- /components/ApiReference/examples/zksync/-v1-modules-{address}-safes--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 324n 5 | }) 6 | 7 | const safes = await apiKit.getSafesByModule( 8 | '0xB4F5e59987549a2586976e8957962dBD54a26FD0' 9 | ) 10 | 11 | console.log(safes) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/zksync/-v1-owners-{address}-safes--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 324n 5 | }) 6 | 7 | const safes = await apiKit.getSafesByOwner( 8 | '0xa6d3DEBAAB2B8093e69109f23A75501F864F74e2' 9 | ) 10 | 11 | console.log(safes) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/zksync/-v1-safes-{address}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 324n 5 | }) 6 | 7 | const safeInfo = await apiKit.getSafeInfo( 8 | '0x5298A93734C3D979eF1f23F78eBB871879A21F22' 9 | ) 10 | 11 | console.log(safeInfo) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/zksync/-v1-safes-{address}-all-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 324n 5 | }) 6 | 7 | const transactions = await apiKit.getAllTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(transactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/zksync/-v1-safes-{address}-creation--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 324n 5 | }) 6 | 7 | const safeCreationInfo = await apiKit.getSafeCreationInfo( 8 | '0x5298A93734C3D979eF1f23F78eBB871879A21F22' 9 | ) 10 | 11 | console.log(safeCreationInfo) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/zksync/-v1-safes-{address}-messages--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 324n 5 | }) 6 | 7 | const safeAddress = '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 8 | 9 | const messages = await apiKit.getMessages(safeAddress) 10 | 11 | console.log(messages) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/zksync/-v1-safes-{address}-module-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 324n 5 | }) 6 | 7 | const moduleTransactions = await apiKit.getModuleTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(moduleTransactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/zksync/-v1-safes-{address}-multisig-transactions--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 324n 5 | }) 6 | 7 | const multisigTransactions = await apiKit.getMultisigTransactions( 8 | '0x5298a93734c3d979ef1f23f78ebb871879a21f22' 9 | ) 10 | 11 | console.log(multisigTransactions) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/zksync/-v1-tokens--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 324n 5 | }) 6 | 7 | const tokenList = await apiKit.getTokenList() 8 | 9 | console.log(tokenList) 10 | -------------------------------------------------------------------------------- /components/ApiReference/examples/zksync/-v1-tokens-{address}--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 324n 5 | }) 6 | 7 | const token = await apiKit.getToken( 8 | '0x687e43D0aB3248bDfebFE3E8f9F1AB2B9FcE982d' 9 | ) 10 | 11 | console.log(token) 12 | -------------------------------------------------------------------------------- /components/ApiReference/examples/zksync/-v2-delegates--get.ts: -------------------------------------------------------------------------------- 1 | import SafeApiKit from '@safe-global/api-kit' 2 | 3 | const apiKit = new SafeApiKit({ 4 | chainId: 324n 5 | }) 6 | 7 | const delegates = await apiKit.getSafeDelegates({ 8 | safeAddress: '0xb53a6b6f67847cff94fdb94b90345cb45a2c7301' 9 | }) 10 | 11 | console.log(delegates) 12 | -------------------------------------------------------------------------------- /components/ApiReference/index.tsx: -------------------------------------------------------------------------------- 1 | import dynamic from 'next/dynamic' 2 | import Loader from '../Loader' 3 | 4 | const ApiReference = dynamic(async () => await import('./ApiReference'), { 5 | loading: () => 6 | }) 7 | 8 | export default ApiReference 9 | -------------------------------------------------------------------------------- /components/Events/index.tsx: -------------------------------------------------------------------------------- 1 | import dynamic from 'next/dynamic' 2 | import Loader from '../Loader' 3 | 4 | const Events = dynamic(async () => await import('./Events'), { 5 | loading: () => 6 | }) 7 | 8 | export default Events 9 | -------------------------------------------------------------------------------- /components/Events/types.ts: -------------------------------------------------------------------------------- 1 | import type { StaticImageData } from 'next/image' 2 | 3 | export interface TeamMemberType { 4 | name: string 5 | position: string 6 | image: StaticImageData 7 | } 8 | export interface WorkshopType { 9 | title: string 10 | location: string | null 11 | start: string 12 | end: string 13 | speaker: string 14 | } 15 | -------------------------------------------------------------------------------- /components/Hr.tsx: -------------------------------------------------------------------------------- 1 | import { palette } from '../styles/palette' 2 | 3 | // eslint-disable-next-line @typescript-eslint/no-explicit-any 4 | const Hr: React.FC<{ style?: any }> = props => ( 5 |
13 | ) 14 | 15 | export default Hr 16 | -------------------------------------------------------------------------------- /components/ResourceHub/index.tsx: -------------------------------------------------------------------------------- 1 | import dynamic from 'next/dynamic' 2 | 3 | const Projects = dynamic(async () => await import('./Resources')) 4 | 5 | export default Projects 6 | -------------------------------------------------------------------------------- /components/SupportedNetworks/index.tsx: -------------------------------------------------------------------------------- 1 | import dynamic from 'next/dynamic' 2 | 3 | const SupportedNetworksPage = dynamic(async () => await import('./Networks')) 4 | 5 | export default SupportedNetworksPage 6 | -------------------------------------------------------------------------------- /components/YouTube/Youtube.module.css: -------------------------------------------------------------------------------- 1 | .video-responsive { 2 | overflow: hidden; 3 | padding-bottom: 56.25%; 4 | position: relative; 5 | height: 0; 6 | width: 100%; 7 | } 8 | 9 | .video-responsive iframe { 10 | left: 0; 11 | top: 0; 12 | height: 100%; 13 | width: 100%; 14 | position: absolute; 15 | } 16 | -------------------------------------------------------------------------------- /components/callouts/ModuleCallout.mdx: -------------------------------------------------------------------------------- 1 | import { Callout } from 'nextra/components' 2 | 3 | 4 | Since a guard has the full power to block Safe transaction executions, a 5 | broken guard can cause a denial of service for the Safe. Make sure to 6 | carefully audit the guard code, and design recovery mechanisms. 7 | 8 | -------------------------------------------------------------------------------- /components/callouts/OnlySafeTxCallout.mdx: -------------------------------------------------------------------------------- 1 | import { Callout } from 'nextra/components' 2 | 3 | 4 | This action can only be done via a Safe transaction. 5 | 6 | -------------------------------------------------------------------------------- /examples/ai-agent/.env.example: -------------------------------------------------------------------------------- 1 | AGENT_PRIVATE_KEY="0x..." 2 | AGENT_ADDRESS="0x..." 3 | 4 | # Optional: 5 | OPENAI_API_KEY="sk-..." 6 | LANGCHAIN_API_KEY="lsv2_..." 7 | LANGCHAIN_CALLBACKS_BACKGROUND="true" 8 | LANGCHAIN_TRACING_V2="true" 9 | LANGCHAIN_PROJECT="Safe Agent Tutorial" 10 | 11 | -------------------------------------------------------------------------------- /examples/passkeys-vue/app.vue: -------------------------------------------------------------------------------- 1 | 8 | -------------------------------------------------------------------------------- /mdx.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*.mdx' { 2 | let MDXComponent: (props) => JSX.Element 3 | export default MDXComponent 4 | } 5 | -------------------------------------------------------------------------------- /next-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | /// 3 | 4 | // NOTE: This file should not be edited 5 | // see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information. 6 | -------------------------------------------------------------------------------- /pages/404.md: -------------------------------------------------------------------------------- 1 | # Page not found 2 | 3 | This page couldn't be found. Please check if the URL is correct or head back to the [homepage](/). 4 | 5 | If you think something is broken, please open an issue on [GitHub](https://github.com/safe-global/safe-docs/issues/new). 6 | -------------------------------------------------------------------------------- /pages/advanced/cli-guides/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "recovery-safe-deployment": "Deploy a Recovery Safe" 3 | } 4 | -------------------------------------------------------------------------------- /pages/advanced/cli-reference/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "common-commands": "Common commands for both modes", 3 | "tx-service-commands": "Commands specific to the tx-service mode", 4 | "unattended-commands": "Commands available in unattended mode" 5 | } -------------------------------------------------------------------------------- /pages/advanced/eip-7702/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "overview": "Overview", 3 | "7702-safe": "Safe and EIP-7702" 4 | } 5 | -------------------------------------------------------------------------------- /pages/advanced/erc-4337/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "overview": "Overview", 3 | "4337-safe": "Safe and ERC-4337", 4 | "supported-networks": { 5 | "title": "Supported Networks", 6 | "href": "/advanced/smart-account-supported-networks?module=Safe+4337+Module" 7 | }, 8 | "guides": "Guides" 9 | } 10 | -------------------------------------------------------------------------------- /pages/advanced/erc-4337/guides/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "safe-sdk": "ERC-4337 Safe SDK", 3 | "permissionless-quickstart": "Permissionless.js Quickstart", 4 | "permissionless-detailed": "Permissionless.js Detailed" 5 | } 6 | -------------------------------------------------------------------------------- /pages/advanced/erc-4337/guides/safe-sdk.mdx: -------------------------------------------------------------------------------- 1 | import Sdk4337Guide from '../../../sdk/relay-kit/guides/4337-safe-sdk.mdx' 2 | 3 | 4 | -------------------------------------------------------------------------------- /pages/advanced/erc-7579/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "overview": "Overview", 3 | "7579-safe": "Safe and ERC-7579", 4 | "developer-tooling": "Developer Tooling", 5 | "tutorials": "Tutorials" 6 | } -------------------------------------------------------------------------------- /pages/advanced/erc-7579/tutorials/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "7579-tutorial": "Build an app with Safe and ERC-7579" 3 | } -------------------------------------------------------------------------------- /pages/advanced/passkeys/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "overview": "Overview", 3 | "passkeys-safe": "Safe and Passkeys", 4 | "supported-networks": { 5 | "title": "Supported Networks", 6 | "href": "/advanced/smart-account-supported-networks?module=Safe+Passkey+Module" 7 | }, 8 | "tutorials": "Tutorials" 9 | } -------------------------------------------------------------------------------- /pages/advanced/passkeys/tutorials/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "react": "Build a React app with Safe and passkeys", 3 | "nuxt": "Build a Vue app with Safe and passkeys", 4 | "react-native": "Build a React Native app with Safe and passkeys" 5 | } -------------------------------------------------------------------------------- /pages/advanced/smart-account-supported-networks.mdx: -------------------------------------------------------------------------------- 1 | import SupportedNetworks from '../../components/SupportedNetworks' 2 | 3 | 4 | -------------------------------------------------------------------------------- /pages/build-the-new-internet.mdx: -------------------------------------------------------------------------------- 1 | import Events from '../components/Events' 2 | 3 | 4 | -------------------------------------------------------------------------------- /pages/core-api/api-safe-transaction-service/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "rpc-requirements": "RPC Requirements", 3 | "faq": { 4 | "title": "FAQ", 5 | "theme": { 6 | "toc": false 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /pages/core-api/transaction-service-guides/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "transactions": "Transactions", 3 | "data-decoder": "Data decoder", 4 | "messages": "Messages", 5 | "delegates": "Delegates" 6 | } -------------------------------------------------------------------------------- /pages/home/ai-agent-actions/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "introduction": "Introduction", 3 | "ai-agent-swaps-with-cow-swap": "AI agent swaps on CoW Swap", 4 | "ai-agent-swaps-on-uniswap": "AI agent swaps on Uniswap" 5 | } 6 | -------------------------------------------------------------------------------- /pages/home/ai-agent-quickstarts/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "introduction": "Introduction", 3 | "basic-agent-setup": "Setup your Agent with a Safe account", 4 | "human-approval": "Human approval for agent action", 5 | "multi-agent-setup": "Multiple Agent setup", 6 | "agent-with-spending-limit": "Agent with spending limit" 7 | } 8 | -------------------------------------------------------------------------------- /pages/index.tsx: -------------------------------------------------------------------------------- 1 | import { useRouter } from 'next/router' 2 | import { useEffect } from 'react' 3 | 4 | const RedirectIndex: React.FC = () => { 5 | const { push } = useRouter() 6 | 7 | useEffect(() => { 8 | void push('/home/what-is-safe') 9 | }, [push]) 10 | 11 | return <> 12 | } 13 | 14 | export default RedirectIndex 15 | -------------------------------------------------------------------------------- /pages/reference-sdk-protocol-kit/deployment/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "createsafedeploymenttransaction": "createSafeDeploymentTransaction", 3 | "getsafeaddressfromdeploymenttx": "getSafeAddressFromDeploymentTx" 4 | } -------------------------------------------------------------------------------- /pages/reference-sdk-protocol-kit/fallback-handler/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "createdisablefallbackhandlertx": "createDisableFallbackHandlerTx", 3 | "createenablefallbackhandlertx": "createEnableFallbackHandlerTx" 4 | } -------------------------------------------------------------------------------- /pages/reference-sdk-protocol-kit/initialization/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "connect": "connect", 3 | "init": "init" 4 | } -------------------------------------------------------------------------------- /pages/reference-sdk-protocol-kit/messages/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "createmessage": "createMessage", 3 | "getsafemessagehash": "getSafeMessageHash", 4 | "isvalidsignature": "isValidSignature", 5 | "signmessage": "signMessage" 6 | } -------------------------------------------------------------------------------- /pages/reference-sdk-protocol-kit/onchain-tracking/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "getOnchainIdentifier": "getOnchainIdentifier" 3 | } -------------------------------------------------------------------------------- /pages/reference-sdk-protocol-kit/passkeys/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "createpasskeysigner": "createPasskeySigner" 3 | } 4 | -------------------------------------------------------------------------------- /pages/reference-sdk-protocol-kit/safe-guards/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "createdisableguardtx": "createDisableGuardTx", 3 | "createenableguardtx": "createEnableGuardTx", 4 | "getguard": "getGuard" 5 | } -------------------------------------------------------------------------------- /pages/reference-sdk-protocol-kit/safe-modules/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "createdisablemoduletx": "createDisableModuleTx", 3 | "createenablemoduletx": "createEnableModuleTx", 4 | "getmodules": "getModules", 5 | "ismoduleenabled": "isModuleEnabled" 6 | } -------------------------------------------------------------------------------- /pages/reference-sdk-protocol-kit/transaction-signatures/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "approvetransactionhash": "approveTransactionHash", 3 | "signhash": "signHash", 4 | "signtransaction": "signTransaction", 5 | "signtypeddata": "signTypedData" 6 | } -------------------------------------------------------------------------------- /pages/reference-sdk-protocol-kit/transactions/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "copytransaction": "copyTransaction", 3 | "createrejectiontransaction": "createRejectionTransaction", 4 | "createtransaction": "createTransaction", 5 | "executetransaction": "executeTransaction", 6 | "gettransactionhash": "getTransactionHash", 7 | "isvalidtransaction": "isValidTransaction" 8 | } -------------------------------------------------------------------------------- /pages/reference-sdk-react-hooks/useupdateowners/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "add": "add", 3 | "remove": "remove", 4 | "swap": "swap" 5 | } 6 | -------------------------------------------------------------------------------- /pages/reference-sdk-starter-kit/offchain-messages/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "sendoffchainmessage": "sendOffChainMessage", 3 | "confirmoffchainmessage": "confirmOffChainMessage", 4 | "getpendingoffchainmessages": "getPendingOffChainMessages" 5 | } 6 | -------------------------------------------------------------------------------- /pages/reference-sdk-starter-kit/onchain-messages/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "sendonchainmessage": "sendOnChainMessage" 3 | } 4 | -------------------------------------------------------------------------------- /pages/reference-sdk-starter-kit/safe-operations/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "sendsafeoperation": "sendSafeOperation", 3 | "confirmsafeoperation": "confirmSafeOperation", 4 | "getpendingsafeoperations": "getPendingSafeOperations" 5 | } 6 | -------------------------------------------------------------------------------- /pages/reference-smart-account/deployment/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "SafeProxy": "SafeProxy", 3 | "SafeProxyFactory": "SafeProxyFactory", 4 | "SafeSingleton": "SafeSingleton" 5 | } 6 | -------------------------------------------------------------------------------- /pages/reference-smart-account/events/AddedOwner.mdx: -------------------------------------------------------------------------------- 1 | ### `AddedOwner` 2 | 3 | ```solidity 4 | event AddedOwner(address owner); 5 | ``` 6 | 7 | Emitted when an owner is added to the Safe. 8 | -------------------------------------------------------------------------------- /pages/reference-smart-account/events/ApproveHash.mdx: -------------------------------------------------------------------------------- 1 | ### `ApproveHash` 2 | 3 | ```solidity 4 | event ApproveHash(bytes32 approvedHash, address owner); 5 | ``` 6 | 7 | Emitted when a hash is approved by an owner. 8 | -------------------------------------------------------------------------------- /pages/reference-smart-account/events/ChangedFallbackHandler.mdx: -------------------------------------------------------------------------------- 1 | ### `ChangedFallbackHandler` 2 | 3 | ```solidity 4 | event ChangedFallbackHandler(address handler); 5 | ``` 6 | 7 | Emitted when the Fallback Handler is changed. 8 | -------------------------------------------------------------------------------- /pages/reference-smart-account/events/ChangedGuard.mdx: -------------------------------------------------------------------------------- 1 | ### `ChangedGuard` 2 | 3 | ```solidity 4 | event ChangedGuard(address guard); 5 | ``` 6 | 7 | Emitted when a guard is set for the Safe. 8 | -------------------------------------------------------------------------------- /pages/reference-smart-account/events/ChangedModuleGuard.mdx: -------------------------------------------------------------------------------- 1 | ### `ChangedModuleGuard` 2 | 3 | ```solidity 4 | event ChangedModuleGuard(address moduleGuard); 5 | ``` 6 | 7 | Emitted when a Module Guard is set for the Safe. 8 | -------------------------------------------------------------------------------- /pages/reference-smart-account/events/ChangedThreshold.mdx: -------------------------------------------------------------------------------- 1 | ### `ChangedThreshold` 2 | 3 | ```solidity 4 | event ChangedThreshold(uint256 threshold); 5 | ``` 6 | 7 | Emitted when the threshold for confirmations is changed. 8 | -------------------------------------------------------------------------------- /pages/reference-smart-account/events/DisabledModule.mdx: -------------------------------------------------------------------------------- 1 | ### `DisabledModule` 2 | 3 | ```solidity 4 | event DisabledModule(address module); 5 | ``` 6 | 7 | Emitted when a module is disabled for the Safe. 8 | -------------------------------------------------------------------------------- /pages/reference-smart-account/events/EnabledModule.mdx: -------------------------------------------------------------------------------- 1 | ### `EnabledModule` 2 | 3 | ```solidity 4 | event EnabledModule(address module); 5 | ``` 6 | 7 | Emitted when a module is enabled for the Safe. 8 | -------------------------------------------------------------------------------- /pages/reference-smart-account/events/ExecutionFailure.mdx: -------------------------------------------------------------------------------- 1 | ### `ExecutionFailure` 2 | 3 | ```solidity 4 | event ExecutionFailure(bytes32 txHash, uint256 payment); 5 | ``` 6 | 7 | Emitted when a transaction fails. 8 | -------------------------------------------------------------------------------- /pages/reference-smart-account/events/ExecutionFromModuleFailure.mdx: -------------------------------------------------------------------------------- 1 | ### `ExecutionFromModuleFailure` 2 | 3 | ```solidity 4 | event ExecutionFromModuleFailure(address module); 5 | ``` 6 | 7 | Emitted when a transaction executed by a module fails. 8 | -------------------------------------------------------------------------------- /pages/reference-smart-account/events/ExecutionFromModuleSuccess.mdx: -------------------------------------------------------------------------------- 1 | ### `ExecutionFromModuleSuccess` 2 | 3 | ```solidity 4 | event ExecutionFromModuleSuccess(address to, uint256 value, bytes data); 5 | ``` 6 | 7 | Emitted when a transaction executed by a module succeeds. 8 | -------------------------------------------------------------------------------- /pages/reference-smart-account/events/ExecutionSuccess.mdx: -------------------------------------------------------------------------------- 1 | ### `ExecutionSuccess` 2 | 3 | ```solidity 4 | event ExecutionSuccess(bytes32 txHash, uint256 payment); 5 | ``` 6 | 7 | Emitted when a transaction is executed successfully. 8 | -------------------------------------------------------------------------------- /pages/reference-smart-account/events/RemovedOwner.mdx: -------------------------------------------------------------------------------- 1 | ### `RemovedOwner` 2 | 3 | ```solidity 4 | event RemovedOwner(address owner); 5 | ``` 6 | 7 | Emitted when an owner is removed from the Safe. 8 | -------------------------------------------------------------------------------- /pages/reference-smart-account/events/SafeReceived.mdx: -------------------------------------------------------------------------------- 1 | ### `SafeReceived` 2 | 3 | ```solidity 4 | event SafeReceived(address sender, uint256 value) 5 | ``` 6 | 7 | Emitted when the Safe contract receives a payment. 8 | -------------------------------------------------------------------------------- /pages/reference-smart-account/events/SafeSetup.mdx: -------------------------------------------------------------------------------- 1 | ### `SafeSetup` 2 | 3 | ```solidity 4 | event SafeSetup( 5 | address initiator, 6 | address[] owners, 7 | uint256 threshold, 8 | address initializer, 9 | address fallbackHandler 10 | ); 11 | ``` 12 | 13 | Emitted when the Safe is set up. 14 | -------------------------------------------------------------------------------- /pages/reference-smart-account/events/SignMsg.mdx: -------------------------------------------------------------------------------- 1 | ### `SignMsg` 2 | 3 | ```solidity 4 | event SignMsg(bytes32 msgHash); 5 | ``` 6 | 7 | Emitted when a message is signed by an owner. 8 | -------------------------------------------------------------------------------- /pages/reference-smart-account/fallback/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "fallback": "fallback", 3 | "receive": "receive", 4 | "setFallbackHandler": "setFallbackHandler" 5 | } 6 | -------------------------------------------------------------------------------- /pages/reference-smart-account/guards/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "setGuard": "setGuard", 3 | "setModuleGuard": "setModuleGuard" 4 | } 5 | -------------------------------------------------------------------------------- /pages/reference-smart-account/modules/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "enableModule": "enableModule", 3 | "disableModule": "disableModule", 4 | "execTransactionFromModule": "execTransactionFromModule", 5 | "execTransactionFromModuleReturnData": "execTransactionFromModuleReturnData", 6 | "getModulesPaginated": "getModulesPaginated", 7 | "isModuleEnabled": "isModuleEnabled" 8 | } 9 | -------------------------------------------------------------------------------- /pages/reference-smart-account/overview.mdx: -------------------------------------------------------------------------------- 1 | # Safe Smart Account Reference 2 | 3 | This reference lists all public functions and events of the [Safe Smart Account](../advanced/smart-account-overview.mdx) contracts version `1.4.1`, logically clustered. 4 | -------------------------------------------------------------------------------- /pages/reference-smart-account/owners/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "addOwnerWithThreshold": "addOwnerWithThreshold", 3 | "changeThreshold": "changeThreshold", 4 | "getOwners": "getOwners", 5 | "getThreshold": "getThreshold", 6 | "isOwner": "isOwner", 7 | "removeOwner": "removeOwner", 8 | "swapOwner": "swapOwner" 9 | } 10 | -------------------------------------------------------------------------------- /pages/reference-smart-account/setup/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "domainSeparator": "domainSeparator", 3 | "setup": "setup" 4 | } -------------------------------------------------------------------------------- /pages/reference-smart-account/signatures/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "approveHash": "approveHash", 3 | "checkNSignatures": "checkNSignatures", 4 | "checkSignatures": "checkSignatures", 5 | "signedMessages": "signedMessages" 6 | } 7 | -------------------------------------------------------------------------------- /pages/reference-smart-account/transactions/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "encodeTransactionData": "encodeTransactionData", 3 | "execTransaction": "execTransaction", 4 | "getTransactionHash": "getTransactionHash", 5 | "simulateAndRevert": "simulateAndRevert" 6 | } 7 | -------------------------------------------------------------------------------- /pages/reference-smart-account/utilities/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "getStorageAt": "getStorageAt" 3 | } -------------------------------------------------------------------------------- /pages/resource-hub.mdx: -------------------------------------------------------------------------------- 1 | import ResourceHub from '../components/ResourceHub' 2 | 3 | 4 | -------------------------------------------------------------------------------- /pages/safenet/concepts/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "settlement": "Settlement", 3 | "challenge": "Challenge", 4 | "attestation": "Attestation", 5 | "guarantee": "Guarantee", 6 | "resource-lock": "Resource Lock", 7 | "universal-balance": "Universal Balance" 8 | } -------------------------------------------------------------------------------- /pages/safenet/core-components/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "processor": "Processor", 3 | "validator": "Validator", 4 | "liquidity-provider": "Liquidity Provider" 5 | } -------------------------------------------------------------------------------- /pages/safenet/core-components/end-user.mdx: -------------------------------------------------------------------------------- 1 | # End User 2 | 3 | The End User is an individual with one or more [Safenet accounts](../safenet-account.mdx), using [Safe\{Wallet\}](https://app.safe.global/welcome) to interact with Safenet. 4 | 5 | -------------------------------------------------------------------------------- /pages/safenet/core-components/liquidity-provider.mdx: -------------------------------------------------------------------------------- 1 | # Liquidity Provider 2 | 3 | The Liquidity Provider supplies assets at a premium for [Safenet transactions](../safenet-transaction.mdx). They front the necessary funds and are reimbursed an additional fee during [settlement](../concepts/settlement.mdx). -------------------------------------------------------------------------------- /pages/safenet/core-components/safenet-protocol.mdx: -------------------------------------------------------------------------------- 1 | # Safenet Protocol 2 | 3 | The Safenet Protocol consists of smart contracts that enable trustless communication between all parties. 4 | Both contract variables and events serve as communication channels. 5 | 6 | The [Safenet Protocol](../protocol/overview.mdx) section documents the different smart contracts. -------------------------------------------------------------------------------- /pages/safenet/protocol/overview.mdx: -------------------------------------------------------------------------------- 1 | # Safenet Protocol 2 | 3 | This section describes the smart contracts deployed on the different chains that enable trustless communication in Safenet. 4 | 5 | ![Safenet-protocol-overview](../../../assets/safenet-protocol-overview.png) 6 | -------------------------------------------------------------------------------- /pages/sdk/api-kit/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "guides": "Guides", 3 | "references": { 4 | "title": "Reference", 5 | "href": "/reference-sdk-api-kit/overview" 6 | } 7 | } -------------------------------------------------------------------------------- /pages/sdk/api-kit/guides/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "propose-and-confirm-transactions": "Propose and Confirm Transactions", 3 | "migrate-to-v1": "Migrate to v1", 4 | "migrate-to-v2": "Migrate to v2", 5 | "migrate-to-v3": "Migrate to v3" 6 | } 7 | -------------------------------------------------------------------------------- /pages/sdk/onramp/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "monerium": "Monerium", 3 | "stripe": "Stripe" 4 | } 5 | -------------------------------------------------------------------------------- /pages/sdk/protocol-kit/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "guides": "Guides", 3 | "references": { 4 | "title": "Reference", 5 | "href": "/reference-sdk-protocol-kit/overview" 6 | } 7 | } -------------------------------------------------------------------------------- /pages/sdk/protocol-kit/guides/signatures/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "transactions": "Transactions", 3 | "messages": "Messages" 4 | } -------------------------------------------------------------------------------- /pages/sdk/react-hooks/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "guides": "Guides", 3 | "references": { 4 | "title": "Reference", 5 | "href": "/reference-sdk-react-hooks/overview" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /pages/sdk/react-hooks/guides/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "send-transactions": "Send Transactions" 3 | } -------------------------------------------------------------------------------- /pages/sdk/relay-kit/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "guides": "Guides", 3 | "reference": "Reference" 4 | } -------------------------------------------------------------------------------- /pages/sdk/relay-kit/guides/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "4337-safe-sdk": "ERC-4337 Safe SDK", 3 | "gelato-relay": "Gelato Relay", 4 | "migrate-to-v2": "Migrate to v2", 5 | "migrate-to-v3": "Migrate to v3" 6 | } 7 | -------------------------------------------------------------------------------- /pages/sdk/relay-kit/reference/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "safe-4337-pack": "Safe4337Pack" 3 | } 4 | -------------------------------------------------------------------------------- /pages/sdk/signers/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "dynamic": "Dynamic", 3 | "magic": "Magic", 4 | "passkeys": "Passkeys", 5 | "privy": "Privy", 6 | "web3auth": "Web3Auth" 7 | } 8 | -------------------------------------------------------------------------------- /pages/sdk/starter-kit/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "guides": "Guides", 3 | "references": { 4 | "title": "Reference", 5 | "href": "/reference-sdk-starter-kit/overview" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /pages/sdk/starter-kit/guides/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "send-transactions": "Send Transactions", 3 | "send-user-operations": "Send User Operations" 4 | } -------------------------------------------------------------------------------- /public/event-background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/public/event-background.png -------------------------------------------------------------------------------- /public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/public/favicon.png -------------------------------------------------------------------------------- /public/fonts/Citerne-Light.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/public/fonts/Citerne-Light.woff -------------------------------------------------------------------------------- /public/og_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/public/og_image.png -------------------------------------------------------------------------------- /public/og_image_resource_hub.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/public/og_image_resource_hub.png -------------------------------------------------------------------------------- /public/unknown-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/safe-global/safe-docs/0c5bab46c781bef2efab4bebf2c4102f309e68f1/public/unknown-logo.png -------------------------------------------------------------------------------- /tests/redirections.spec.ts: -------------------------------------------------------------------------------- 1 | import redirects from '../redirects.json' 2 | 3 | describe('Should redirect legacy routes', () => { 4 | redirects.forEach(redirect => { 5 | it(`Should redirect ${redirect.source} to ${redirect.destination}`, () => { 6 | cy.visit(redirect.source) 7 | cy.url().should('include', redirect.destination) 8 | }) 9 | }) 10 | }) 11 | --------------------------------------------------------------------------------