OneBalance
OneBalance
  • Welcome to OneBalance
  • OneBalance Toolkit
    • Introduction
    • Get Started with OneBalance SCA
      • Setup OneBalance Toolkit with Privy
        • Step 1: Setting up Privy
        • Step 2: Setting configurations
        • Step 3: Initializing and Depositing onto the OneBalance Smart Account
        • Step 4: Displaying Chain-Aggregated Balances
        • Step 5: Fetch a quote for transaction execution
        • Step 6: Signing transactions with Privy
        • Step 7: Executing transactions
        • Step 8: Getting execution status
      • Contract calls guide
        • Usage code samples
  • OneBalance vision
    • Our vision
      • Mission of OneBalance
      • Use Cases
      • Credible Accounts and Credible Stack
      • Fellowship of OneBalance
      • Glossary
    • Why resource locks?
      • Technical Details
        • Resource lock
        • Permissions
        • Credible accounts
        • Credible Commitment Machine (CCM)
        • FAQ
          • How does this relate to account abstraction and 4337?
          • Where does the OneBalance account live?
          • Are OneBalance accounts non-custodial?
      • Credible Stack Deep Dive
        • Apps
        • SDK providers
        • Wallets / WaaS
        • Solver Networks
        • Oracle Providers
        • Data Providers
  • Other
    • OneBalance Demo App
      • Roadmap
      • Privacy Policy
      • Terms and Conditions
    • OneBalance Brand Assets
Powered by GitBook
On this page
  • Creating an API Key for OneBalance API
  • Tokens and Chains
  • Orderflow monetisation for application
  • Gas Abstraction
  1. OneBalance Toolkit
  2. Get Started with OneBalance SCA
  3. Setup OneBalance Toolkit with Privy

Step 2: Setting configurations

PreviousStep 1: Setting up PrivyNextStep 3: Initializing and Depositing onto the OneBalance Smart Account

Last updated 1 month ago

Creating an API Key for OneBalance API

OneBalance provides applications with server-side authorization to access its APIs. For detailed information, refer to the .

CA Toolkit is currently in closed beta. today to get your API key use public API key available for tests in the

Tokens and Chains

Here, you can find the endpoints for supported and . The application can specify the chains and tokens it wishes to work with.

The list of supported chains is continually expanding. Please reach out to us to check for the latest updates.

For aggregating tokens, the application has two options:

  1. Use Existing Token Lists: We provide default versions of tokens that are considered fungible with each other across different chains.

  2. Define Custom Token Lists: The application can create its own list of tokens. For example, the app might treat different stablecoins on various chains as the same token and aggregate them into a single balance for spending.

Currently, this customization is handled on a per-application basis. Please reach out to have this setup tailored for your needs.

Orderflow monetisation for application

The application can configure the fee for each user transaction.

The fee payment transaction is incorporated into the UserOp on either the source or destination chain. It is included in the quote calculation and paid in the token used for the transaction.

Gas Abstraction

We support two gas payment models:

  • Gas Sponsorship: The application covers gas costs.

  • Quote-Inclusive Gas Payment: Gas costs are included in the quote (coming soon).

Note: The gas is fully abstracted from the users in either case, and the application does not require additional development to enable it.

OneBalance API Swagger documentation
Contact us
swagger documentation
chains
tokens