Cubewire LogoDeveloper
Support
Onboarding
Cubewire Developer Hub Logo
SOC 2 Compliant

Developer documentation and tools for Cubewire's digital wallet infrastructure. Built for developers, by developers.

developers@cubewire.com
TwitterGitHubDiscord

Developer Tools

  • API Documentation
  • API Reference

Resources

  • Documentation

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
© 2026 Cubewire. All rights reserved.
Developer Documentation Portal•Built with ♥ for developers
  1. Cubewire Wallet
  2. Manage Vaults
  3. Estimate gas by address

Estimate gas by address

Estimate gas fees for a transaction when you have the vault's blockchain address rather than the vault ID. Useful when resolving vaults by address (e.g., from organization links).

Path Parameters

ParameterTypeRequiredDescription
addressstringYesVault's blockchain address (0x...)

Request Body

FieldTypeRequiredDescription
typestringNoTransaction type (TRANSFER, CONTRACT_WRITE, etc.)
recipientstringNoRecipient address (nullable)
amountstringYesAmount for transfer
assetobjectYesAsset information
valuestringNoValue for contract calls (in ether)
datastringNoContract call data

Use Cases

  • Estimate gas when you have vault address from surfaced vaults
  • Pre-flight gas check before transaction
  • Display estimated cost in UI

Required Permission

vaults:read

On this page

  • Path Parameters
  • Request Body
  • Use Cases
  • Required Permission
  1. Cubewire Wallet
  2. Manage Vaults
  3. Estimate gas by address

Estimate gas by address

Estimate gas fees for a transaction when you have the vault's blockchain address rather than the vault ID. Useful when resolving vaults by address (e.g., from organization links).

Path Parameters

ParameterTypeRequiredDescription
addressstringYesVault's blockchain address (0x...)

Request Body

FieldTypeRequiredDescription
typestringNoTransaction type (TRANSFER, CONTRACT_WRITE, etc.)
recipientstringNoRecipient address (nullable)
amountstringYesAmount for transfer
assetobjectYesAsset information
valuestringNoValue for contract calls (in ether)
datastringNoContract call data

Use Cases

  • Estimate gas when you have vault address from surfaced vaults
  • Pre-flight gas check before transaction
  • Display estimated cost in UI

Required Permission

vaults:read

On this page

  • Path Parameters
  • Request Body
  • Use Cases
  • Required Permission