> ## Documentation Index
> Fetch the complete documentation index at: https://docs.onebalance.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Quote Examples

> Explore OneBalance API quote request examples for transfers and swaps, showing how to structure cross-chain API calls.

The quote endpoint enables you to request quotes for various operations including token swaps, cross-chain bridges, and complex multichain transactions. Below are practical examples for different scenarios.

## Overview

Each example below shows both the JSON request body and the complete cURL command. You can copy the cURL commands directly to test the API, or use the JSON format with your preferred HTTP client.

<Tip>
  For interactive testing, use the [API Reference](/api-reference/quotes/get-quote) playground.
</Tip>

<Info>
  **Account Types**: Learn more about the differences between Basic, EIP-7702, and Role-Based accounts in our [Account Models](/concepts/accounts) guide. Basic accounts provide simple setup, EIP-7702 preserves existing EOA addresses, and Role-Based accounts offer enhanced security features.
</Info>

## Aggregated Token to Aggregated Token Swap

Both source and destination chains are optimized by the Toolkit.

<Tabs>
  <Tab title="Basic Account">
    <CodeGroup>
      ```json JSON theme={null}
      {
        "from": {
          "account": {
            "type": "kernel-v3.1-ecdsa",
            "signerAddress": "0x5d6fb4eb211a6a2e406a1111b54d26c534753c8e",
            "accountAddress": "0xE20295ec513DEf805D9c3083b0C8EaB64692D764"
          },
          "asset": {
            "assetId": "ob:eth"
          },
          "amount": "1000000000000000"
        },
        "to": {
          "asset": {
            "assetId": "ob:usdc"
          }
        }
      }
      ```

      ```bash cURL theme={null}
      curl --request POST \
        --url https://be.onebalance.io/api/v1/quote \
        --header 'Content-Type: application/json' \
        --header 'x-api-key: 42bb629272001ee1163ca0dbbbc07bcbb0ef57a57baf16c4b1d4672db4562c11' \
        --data '{
        "from": {
          "account": {
            "type": "kernel-v3.1-ecdsa",
            "signerAddress": "0x5d6fb4eb211a6a2e406a1111b54d26c534753c8e",
            "accountAddress": "0xE20295ec513DEf805D9c3083b0C8EaB64692D764"
          },
          "asset": {
            "assetId": "ob:eth"
          },
          "amount": "1000000000000000"
        },
        "to": {
          "asset": {
            "assetId": "ob:usdc"
          }
        }
      }'
      ```
    </CodeGroup>
  </Tab>

  <Tab title="EIP-7702 Account">
    <CodeGroup>
      ```json JSON theme={null}
      {
        "from": {
          "account": {
            "type": "kernel-v3.3-ecdsa",
            "deploymentType": "EIP7702",
            "signerAddress": "0xE20295ec513DEf805D9c3083b0C8EaB64692D764",
            "accountAddress": "0xE20295ec513DEf805D9c3083b0C8EaB64692D764"
          },
          "asset": {
            "assetId": "ob:eth"
          },
          "amount": "1000000000000000"
        },
        "to": {
          "asset": {
            "assetId": "ob:usdc"
          }
        }
      }
      ```

      ```bash cURL theme={null}
      curl --request POST \
        --url https://be.onebalance.io/api/v1/quote \
        --header 'Content-Type: application/json' \
        --header 'x-api-key: 42bb629272001ee1163ca0dbbbc07bcbb0ef57a57baf16c4b1d4672db4562c11' \
        --data '{
        "from": {
          "account": {
            "type": "kernel-v3.3-ecdsa",
            "deploymentType": "EIP7702",
            "signerAddress": "0xE20295ec513DEf805D9c3083b0C8EaB64692D764",
            "accountAddress": "0xE20295ec513DEf805D9c3083b0C8EaB64692D764"
          },
          "asset": {
            "assetId": "ob:eth"
          },
          "amount": "1000000000000000"
        },
        "to": {
          "asset": {
            "assetId": "ob:usdc"
          }
        }
      }'
      ```
    </CodeGroup>
  </Tab>

  <Tab title="Role-Based Account">
    <CodeGroup>
      ```json JSON theme={null}
      {
        "from": {
          "account": {
            "sessionAddress": "0x1cBFbFd62a276BF6D79d504eA4CA75a7baDcf5b1",
            "adminAddress": "0xc162a3cE45ad151eeCd0a5532D6E489D034aB3B8",
            "accountAddress": "0xE20295ec513DEf805D9c3083b0C8EaB64692D764"
          },
          "asset": {
            "assetId": "ob:eth"
          },
          "amount": "1000000000000000"
        },
        "to": {
          "asset": {
            "assetId": "ob:usdc"
          }
        }
      }
      ```

      ```bash cURL theme={null}
      curl --request POST \
        --url https://be.onebalance.io/api/v1/quote \
        --header 'Content-Type: application/json' \
        --header 'x-api-key: 42bb629272001ee1163ca0dbbbc07bcbb0ef57a57baf16c4b1d4672db4562c11' \
        --data '{
        "from": {
          "account": {
            "sessionAddress": "0x1cBFbFd62a276BF6D79d504eA4CA75a7baDcf5b1",
            "adminAddress": "0xc162a3cE45ad151eeCd0a5532D6E489D034aB3B8",
            "accountAddress": "0xE20295ec513DEf805D9c3083b0C8EaB64692D764"
          },
          "asset": {
            "assetId": "ob:eth"
          },
          "amount": "1000000000000000"
        },
        "to": {
          "asset": {
            "assetId": "ob:usdc"
          }
        }
      }'
      ```
    </CodeGroup>
  </Tab>
</Tabs>

## Aggregated Token to Chain-Specific Token with Custom Recipient

The source chain (where to take the assets from) is optimized by the Toolkit, while the destination chain is explicitly specified. There is a different recipient on the destination chain.

<Tabs>
  <Tab title="Basic Account">
    <CodeGroup>
      ```json JSON theme={null}
      {
        "from": {
          "account": {
            "type": "kernel-v3.1-ecdsa",
            "signerAddress": "0x5d6fb4eb211a6a2e406a1111b54d26c534753c8e",
            "accountAddress": "0xE20295ec513DEf805D9c3083b0C8EaB64692D764"
          },
          "asset": {
            "assetId": "ob:usdc"
          },
          "amount": "1000000"
        },
        "to": {
          "asset": {
            "assetId": "eip155:8453/erc20:0x532f27101965dd16442e59d40670faf5ebb142e4"
          },
          "account": "eip155:8453:0x742d35Cc6634C0532925a3b844Bc454e4438f44e"
        }
      }
      ```

      ```bash cURL theme={null}
      curl --request POST \
        --url https://be.onebalance.io/api/v1/quote \
        --header 'Content-Type: application/json' \
        --header 'x-api-key: 42bb629272001ee1163ca0dbbbc07bcbb0ef57a57baf16c4b1d4672db4562c11' \
        --data '{
        "from": {
          "account": {
            "type": "kernel-v3.1-ecdsa",
            "signerAddress": "0x5d6fb4eb211a6a2e406a1111b54d26c534753c8e",
            "accountAddress": "0xE20295ec513DEf805D9c3083b0C8EaB64692D764"
          },
          "asset": {
            "assetId": "ob:usdc"
          },
          "amount": "1000000"
        },
        "to": {
          "asset": {
            "assetId": "eip155:8453/erc20:0x532f27101965dd16442e59d40670faf5ebb142e4"
          },
          "account": "eip155:8453:0x742d35Cc6634C0532925a3b844Bc454e4438f44e"
        }
      }'
      ```
    </CodeGroup>
  </Tab>

  <Tab title="EIP-7702 Account">
    <CodeGroup>
      ```json JSON theme={null}
      {
        "from": {
          "account": {
            "type": "kernel-v3.3-ecdsa",
            "deploymentType": "EIP7702",
            "signerAddress": "0xE20295ec513DEf805D9c3083b0C8EaB64692D764",
            "accountAddress": "0xE20295ec513DEf805D9c3083b0C8EaB64692D764"
          },
          "asset": {
            "assetId": "ob:usdc"
          },
          "amount": "1000000"
        },
        "to": {
          "asset": {
            "assetId": "eip155:8453/erc20:0x532f27101965dd16442e59d40670faf5ebb142e4"
          },
          "account": "eip155:8453:0x742d35Cc6634C0532925a3b844Bc454e4438f44e"
        }
      }
      ```

      ```bash cURL theme={null}
      curl --request POST \
        --url https://be.onebalance.io/api/v1/quote \
        --header 'Content-Type: application/json' \
        --header 'x-api-key: 42bb629272001ee1163ca0dbbbc07bcbb0ef57a57baf16c4b1d4672db4562c11' \
        --data '{
        "from": {
          "account": {
            "type": "kernel-v3.3-ecdsa",
            "deploymentType": "EIP7702",
            "signerAddress": "0xE20295ec513DEf805D9c3083b0C8EaB64692D764",
            "accountAddress": "0xE20295ec513DEf805D9c3083b0C8EaB64692D764"
          },
          "asset": {
            "assetId": "ob:usdc"
          },
          "amount": "1000000"
        },
        "to": {
          "asset": {
            "assetId": "eip155:8453/erc20:0x532f27101965dd16442e59d40670faf5ebb142e4"
          },
          "account": "eip155:8453:0x742d35Cc6634C0532925a3b844Bc454e4438f44e"
        }
      }'
      ```
    </CodeGroup>
  </Tab>

  <Tab title="Role-Based Account">
    <CodeGroup>
      ```json JSON theme={null}
      {
        "from": {
          "account": {
            "sessionAddress": "0x1cBFbFd62a276BF6D79d504eA4CA75a7baDcf5b1",
            "adminAddress": "0xc162a3cE45ad151eeCd0a5532D6E489D034aB3B8",
            "accountAddress": "0xE20295ec513DEf805D9c3083b0C8EaB64692D764"
          },
          "asset": {
            "assetId": "ob:usdc"
          },
          "amount": "1000000"
        },
        "to": {
          "asset": {
            "assetId": "eip155:8453/erc20:0x532f27101965dd16442e59d40670faf5ebb142e4"
          },
          "account": "eip155:8453:0x742d35Cc6634C0532925a3b844Bc454e4438f44e"
        }
      }
      ```

      ```bash cURL theme={null}
      curl --request POST \
        --url https://be.onebalance.io/api/v1/quote \
        --header 'Content-Type: application/json' \
        --header 'x-api-key: 42bb629272001ee1163ca0dbbbc07bcbb0ef57a57baf16c4b1d4672db4562c11' \
        --data '{
        "from": {
          "account": {
            "sessionAddress": "0x1cBFbFd62a276BF6D79d504eA4CA75a7baDcf5b1",
            "adminAddress": "0xc162a3cE45ad151eeCd0a5532D6E489D034aB3B8",
            "accountAddress": "0xE20295ec513DEf805D9c3083b0C8EaB64692D764"
          },
          "asset": {
            "assetId": "ob:usdc"
          },
          "amount": "1000000"
        },
        "to": {
          "asset": {
            "assetId": "eip155:8453/erc20:0x532f27101965dd16442e59d40670faf5ebb142e4"
          },
          "account": "eip155:8453:0x742d35Cc6634C0532925a3b844Bc454e4438f44e"
        }
      }'
      ```
    </CodeGroup>
  </Tab>
</Tabs>

## Chain-Specific Token to Chain-Specific Token Swap

Direct swap between tokens on specific chains without aggregation.

<Tabs>
  <Tab title="Basic Account">
    <CodeGroup>
      ```json JSON theme={null}
      {
        "from": {
          "account": {
            "type": "kernel-v3.1-ecdsa",
            "signerAddress": "0x5d6fb4eb211a6a2e406a1111b54d26c534753c8e",
            "accountAddress": "0xE20295ec513DEf805D9c3083b0C8EaB64692D764"
          },
          "asset": {
            "assetId": "eip155:8453/erc20:0x2da56acb9ea78330f947bd57c54119debda7af71" 
          },
          "amount": "1000000000000000000000000"
        },
        "to": {
          "asset": {
            "assetId": "eip155:8453/erc20:0x9a26f5433671751c3276a065f57e5a02d2817973" 
          }
        }
      }
      ```

      ```bash cURL theme={null}
      curl --request POST \
        --url https://be.onebalance.io/api/v1/quote \
        --header 'Content-Type: application/json' \
        --header 'x-api-key: 42bb629272001ee1163ca0dbbbc07bcbb0ef57a57baf16c4b1d4672db4562c11' \
        --data '{
        "from": {
          "account": {
            "type": "kernel-v3.1-ecdsa",
            "signerAddress": "0x5d6fb4eb211a6a2e406a1111b54d26c534753c8e",
            "accountAddress": "0xE20295ec513DEf805D9c3083b0C8EaB64692D764"
          },
          "asset": {
            "assetId": "eip155:8453/erc20:0x2da56acb9ea78330f947bd57c54119debda7af71" 
          },
          "amount": "1000000000000000000000000"
        },
        "to": {
          "asset": {
            "assetId": "eip155:8453/erc20:0x9a26f5433671751c3276a065f57e5a02d2817973" 
          }
        }
      }'
      ```
    </CodeGroup>
  </Tab>

  <Tab title="EIP-7702 Account">
    <CodeGroup>
      ```json JSON theme={null}
      {
        "from": {
          "account": {
            "type": "kernel-v3.3-ecdsa",
            "deploymentType": "EIP7702",
            "signerAddress": "0xE20295ec513DEf805D9c3083b0C8EaB64692D764",
            "accountAddress": "0xE20295ec513DEf805D9c3083b0C8EaB64692D764"
          },
          "asset": {
            "assetId": "eip155:8453/erc20:0x2da56acb9ea78330f947bd57c54119debda7af71" 
          },
          "amount": "1000000000000000000000000"
        },
        "to": {
          "asset": {
            "assetId": "eip155:8453/erc20:0x9a26f5433671751c3276a065f57e5a02d2817973" 
          }
        }
      }
      ```

      ```bash cURL theme={null}
      curl --request POST \
        --url https://be.onebalance.io/api/v1/quote \
        --header 'Content-Type: application/json' \
        --header 'x-api-key: 42bb629272001ee1163ca0dbbbc07bcbb0ef57a57baf16c4b1d4672db4562c11' \
        --data '{
        "from": {
          "account": {
            "type": "kernel-v3.3-ecdsa",
            "deploymentType": "EIP7702",
            "signerAddress": "0xE20295ec513DEf805D9c3083b0C8EaB64692D764",
            "accountAddress": "0xE20295ec513DEf805D9c3083b0C8EaB64692D764"
          },
          "asset": {
            "assetId": "eip155:8453/erc20:0x2da56acb9ea78330f947bd57c54119debda7af71" 
          },
          "amount": "1000000000000000000000000"
        },
        "to": {
          "asset": {
            "assetId": "eip155:8453/erc20:0x9a26f5433671751c3276a065f57e5a02d2817973" 
          }
        }
      }'
      ```
    </CodeGroup>
  </Tab>

  <Tab title="Role-Based Account">
    <CodeGroup>
      ```json JSON theme={null}
      {
        "from": {
          "account": {
            "sessionAddress": "0x1cBFbFd62a276BF6D79d504eA4CA75a7baDcf5b1",
            "adminAddress": "0xc162a3cE45ad151eeCd0a5532D6E489D034aB3B8",
            "accountAddress": "0xE20295ec513DEf805D9c3083b0C8EaB64692D764"
          },
          "asset": {
            "assetId": "eip155:8453/erc20:0x2da56acb9ea78330f947bd57c54119debda7af71" 
          },
          "amount": "1000000000000000000000000"
        },
        "to": {
          "asset": {
            "assetId": "eip155:8453/erc20:0x9a26f5433671751c3276a065f57e5a02d2817973" 
          }
        }
      }
      ```

      ```bash cURL theme={null}
      curl --request POST \
        --url https://be.onebalance.io/api/v1/quote \
        --header 'Content-Type: application/json' \
        --header 'x-api-key: 42bb629272001ee1163ca0dbbbc07bcbb0ef57a57baf16c4b1d4672db4562c11' \
        --data '{
        "from": {
          "account": {
            "sessionAddress": "0x1cBFbFd62a276BF6D79d504eA4CA75a7baDcf5b1",
            "adminAddress": "0xc162a3cE45ad151eeCd0a5532D6E489D034aB3B8",
            "accountAddress": "0xE20295ec513DEf805D9c3083b0C8EaB64692D764"
          },
          "asset": {
            "assetId": "eip155:8453/erc20:0x2da56acb9ea78330f947bd57c54119debda7af71" 
          },
          "amount": "1000000000000000000000000"
        },
        "to": {
          "asset": {
            "assetId": "eip155:8453/erc20:0x9a26f5433671751c3276a065f57e5a02d2817973" 
          }
        }
      }'
      ```
    </CodeGroup>
  </Tab>
</Tabs>

## Chain-Specific Token to Aggregated Token

Convert a chain-specific token to an aggregated token for broader liquidity access.

<Tabs>
  <Tab title="Basic Account">
    <CodeGroup>
      ```json JSON theme={null}
      {
        "from": {
          "account": {
            "type": "kernel-v3.1-ecdsa",
            "signerAddress": "0x5d6fb4eb211a6a2e406a1111b54d26c534753c8e",
            "accountAddress": "0xE20295ec513DEf805D9c3083b0C8EaB64692D764"
          },
          "asset": {
            "assetId": "eip155:8453/erc20:0x2da56acb9ea78330f947bd57c54119debda7af71"
          },
          "amount": "1000000000000000000000000"
        },
        "to": {
          "asset": {
            "assetId": "ob:usdc"
          }
        }
      }
      ```

      ```bash cURL theme={null}
      curl --request POST \
        --url https://be.onebalance.io/api/v1/quote \
        --header 'Content-Type: application/json' \
        --header 'x-api-key: 42bb629272001ee1163ca0dbbbc07bcbb0ef57a57baf16c4b1d4672db4562c11' \
        --data '{
        "from": {
          "account": {
            "type": "kernel-v3.1-ecdsa",
            "signerAddress": "0x5d6fb4eb211a6a2e406a1111b54d26c534753c8e",
            "accountAddress": "0xE20295ec513DEf805D9c3083b0C8EaB64692D764"
          },
          "asset": {
            "assetId": "eip155:8453/erc20:0x2da56acb9ea78330f947bd57c54119debda7af71"
          },
          "amount": "1000000000000000000000000"
        },
        "to": {
          "asset": {
            "assetId": "ob:usdc"
          }
        }
      }'
      ```
    </CodeGroup>
  </Tab>

  <Tab title="EIP-7702 Account">
    <CodeGroup>
      ```json JSON theme={null}
      {
        "from": {
          "account": {
            "type": "kernel-v3.3-ecdsa",
            "deploymentType": "EIP7702",
            "signerAddress": "0xE20295ec513DEf805D9c3083b0C8EaB64692D764",
            "accountAddress": "0xE20295ec513DEf805D9c3083b0C8EaB64692D764"
          },
          "asset": {
            "assetId": "eip155:8453/erc20:0x2da56acb9ea78330f947bd57c54119debda7af71"
          },
          "amount": "1000000000000000000000000"
        },
        "to": {
          "asset": {
            "assetId": "ob:usdc"
          }
        }
      }
      ```

      ```bash cURL theme={null}
      curl --request POST \
        --url https://be.onebalance.io/api/v1/quote \
        --header 'Content-Type: application/json' \
        --header 'x-api-key: 42bb629272001ee1163ca0dbbbc07bcbb0ef57a57baf16c4b1d4672db4562c11' \
        --data '{
        "from": {
          "account": {
            "type": "kernel-v3.3-ecdsa",
            "deploymentType": "EIP7702",
            "signerAddress": "0xE20295ec513DEf805D9c3083b0C8EaB64692D764",
            "accountAddress": "0xE20295ec513DEf805D9c3083b0C8EaB64692D764"
          },
          "asset": {
            "assetId": "eip155:8453/erc20:0x2da56acb9ea78330f947bd57c54119debda7af71"
          },
          "amount": "1000000000000000000000000"
        },
        "to": {
          "asset": {
            "assetId": "ob:usdc"
          }
        }
      }'
      ```
    </CodeGroup>
  </Tab>

  <Tab title="Role-Based Account">
    <CodeGroup>
      ```json JSON theme={null}
      {
        "from": {
          "account": {
            "sessionAddress": "0x1cBFbFd62a276BF6D79d504eA4CA75a7baDcf5b1",
            "adminAddress": "0xc162a3cE45ad151eeCd0a5532D6E489D034aB3B8",
            "accountAddress": "0xE20295ec513DEf805D9c3083b0C8EaB64692D764"
          },
          "asset": {
            "assetId": "eip155:8453/erc20:0x2da56acb9ea78330f947bd57c54119debda7af71"
          },
          "amount": "1000000000000000000000000"
        },
        "to": {
          "asset": {
            "assetId": "ob:usdc"
          }
        }
      }
      ```

      ```bash cURL theme={null}
      curl --request POST \
        --url https://be.onebalance.io/api/v1/quote \
        --header 'Content-Type: application/json' \
        --header 'x-api-key: 42bb629272001ee1163ca0dbbbc07bcbb0ef57a57baf16c4b1d4672db4562c11' \
        --data '{
        "from": {
          "account": {
            "sessionAddress": "0x1cBFbFd62a276BF6D79d504eA4CA75a7baDcf5b1",
            "adminAddress": "0xc162a3cE45ad151eeCd0a5532D6E489D034aB3B8",
            "accountAddress": "0xE20295ec513DEf805D9c3083b0C8EaB64692D764"
          },
          "asset": {
            "assetId": "eip155:8453/erc20:0x2da56acb9ea78330f947bd57c54119debda7af71"
          },
          "amount": "1000000000000000000000000"
        },
        "to": {
          "asset": {
            "assetId": "ob:usdc"
          }
        }
      }'
      ```
    </CodeGroup>
  </Tab>
</Tabs>

## Cross-Chain Bridge Operation

Bridge the same token between different chains (e.g., USDC from Arbitrum to Optimism).

<Tabs>
  <Tab title="Basic Account">
    <CodeGroup>
      ```json JSON theme={null}
      {
        "from": {
          "account": {
            "type": "kernel-v3.1-ecdsa",
            "signerAddress": "0x5d6fb4eb211a6a2e406a1111b54d26c534753c8e",
            "accountAddress": "0xE20295ec513DEf805D9c3083b0C8EaB64692D764"
          },
          "asset": {
            "assetId": "eip155:42161/erc20:0xaf88d065e77c8cc2239327c5edb3a432268e5831" 
          },
          "amount": "1000000"
        },
        "to": {
          "asset": {
            "assetId": "eip155:10/erc20:0x0b2c639c533813f4aa9d7837caf62653d097ff85"
          }
        }
      }
      ```

      ```bash cURL theme={null}
      curl --request POST \
        --url https://be.onebalance.io/api/v1/quote \
        --header 'Content-Type: application/json' \
        --header 'x-api-key: 42bb629272001ee1163ca0dbbbc07bcbb0ef57a57baf16c4b1d4672db4562c11' \
        --data '{
        "from": {
          "account": {
            "type": "kernel-v3.1-ecdsa",
            "signerAddress": "0x5d6fb4eb211a6a2e406a1111b54d26c534753c8e",
            "accountAddress": "0xE20295ec513DEf805D9c3083b0C8EaB64692D764"
          },
          "asset": {
            "assetId": "eip155:42161/erc20:0xaf88d065e77c8cc2239327c5edb3a432268e5831" 
          },
          "amount": "1000000"
        },
        "to": {
          "asset": {
            "assetId": "eip155:10/erc20:0x0b2c639c533813f4aa9d7837caf62653d097ff85"
          }
        }
      }'
      ```
    </CodeGroup>
  </Tab>

  <Tab title="EIP-7702 Account">
    <CodeGroup>
      ```json JSON theme={null}
      {
        "from": {
          "account": {
            "type": "kernel-v3.3-ecdsa",
            "deploymentType": "EIP7702",
            "signerAddress": "0xE20295ec513DEf805D9c3083b0C8EaB64692D764",
            "accountAddress": "0xE20295ec513DEf805D9c3083b0C8EaB64692D764"
          },
          "asset": {
            "assetId": "eip155:42161/erc20:0xaf88d065e77c8cc2239327c5edb3a432268e5831" 
          },
          "amount": "1000000"
        },
        "to": {
          "asset": {
            "assetId": "eip155:10/erc20:0x0b2c639c533813f4aa9d7837caf62653d097ff85"
          }
        }
      }
      ```

      ```bash cURL theme={null}
      curl --request POST \
        --url https://be.onebalance.io/api/v1/quote \
        --header 'Content-Type: application/json' \
        --header 'x-api-key: 42bb629272001ee1163ca0dbbbc07bcbb0ef57a57baf16c4b1d4672db4562c11' \
        --data '{
        "from": {
          "account": {
            "type": "kernel-v3.3-ecdsa",
            "deploymentType": "EIP7702",
            "signerAddress": "0xE20295ec513DEf805D9c3083b0C8EaB64692D764",
            "accountAddress": "0xE20295ec513DEf805D9c3083b0C8EaB64692D764"
          },
          "asset": {
            "assetId": "eip155:42161/erc20:0xaf88d065e77c8cc2239327c5edb3a432268e5831" 
          },
          "amount": "1000000"
        },
        "to": {
          "asset": {
            "assetId": "eip155:10/erc20:0x0b2c639c533813f4aa9d7837caf62653d097ff85"
          }
        }
      }'
      ```
    </CodeGroup>
  </Tab>

  <Tab title="Role-Based Account">
    <CodeGroup>
      ```json JSON theme={null}
      {
        "from": {
          "account": {
            "sessionAddress": "0x1cBFbFd62a276BF6D79d504eA4CA75a7baDcf5b1",
            "adminAddress": "0xc162a3cE45ad151eeCd0a5532D6E489D034aB3B8",
            "accountAddress": "0xE20295ec513DEf805D9c3083b0C8EaB64692D764"
          },
          "asset": {
            "assetId": "eip155:42161/erc20:0xaf88d065e77c8cc2239327c5edb3a432268e5831" 
          },
          "amount": "1000000"
        },
        "to": {
          "asset": {
            "assetId": "eip155:10/erc20:0x0b2c639c533813f4aa9d7837caf62653d097ff85"
          }
        }
      }
      ```

      ```bash cURL theme={null}
      curl --request POST \
        --url https://be.onebalance.io/api/v1/quote \
        --header 'Content-Type: application/json' \
        --header 'x-api-key: 42bb629272001ee1163ca0dbbbc07bcbb0ef57a57baf16c4b1d4672db4562c11' \
        --data '{
        "from": {
          "account": {
            "sessionAddress": "0x1cBFbFd62a276BF6D79d504eA4CA75a7baDcf5b1",
            "adminAddress": "0xc162a3cE45ad151eeCd0a5532D6E489D034aB3B8",
            "accountAddress": "0xE20295ec513DEf805D9c3083b0C8EaB64692D764"
          },
          "asset": {
            "assetId": "eip155:42161/erc20:0xaf88d065e77c8cc2239327c5edb3a432268e5831" 
          },
          "amount": "1000000"
        },
        "to": {
          "asset": {
            "assetId": "eip155:10/erc20:0x0b2c639c533813f4aa9d7837caf62653d097ff85"
          }
        }
      }'
      ```
    </CodeGroup>
  </Tab>
</Tabs>
