Note
The Fireblocks Gas Station is a premium feature and not available in workspaces by default. If you're interested in this feature and want to see if your use case is eligible for it, please contact your Customer Success Manager.
Overview
You can configure the Fireblocks Gas Station's settings for a blockchain network or for a specific asset with a gas threshold, a gas cap, and a maximum gas price.
When an incoming token deposit or an outgoing token withdrawal is detected, the Gas Station service checks the balance of the vault account and fuels it as necessary according to your settings. Note that if you do not specify values for these parameters, the Gas Station uses its preset default values.
- Gas threshold (gasThreshold): The gas threshold represents the minimum balance allowed in the Gas Station account. If the balance is below the minimum gas threshold, the Gas Station fuels the vault account automatically with the set maximum gas cap.
- Gas cap (gasCap): The gas cap represents the maximum balance allowed in the Gas Station account.
- Maximum gas price (maxGasPrice): The maximum gas price allows you to limit the maximum transaction fee for Gas Station transactions. The funding transaction will be sent in gwei with this maximum value gas price or less. A null value for the maximum gas price means the fee will be paid at any cost, without limitations. If you changed the maximum gas price settings and want to revert to the default settings of null, you can enter an empty string as "".
Viewing Gas Station settings
- To view the Gas Station's current settings for all blockchain networks, call the Get Gas Station settings endpoint.
- To view the Gas Station's current settings and its current balance for a specific asset, call the Get Gas Station settings by asset endpoint.
Configuring Gas Station settings
- To configure the Gas Station's settings for all blockchain networks, call the Edit Gas Station settings endpoint.
- To configure the Gas Station's settings for a specific asset, call the Edit Gas Station settings for an asset endpoint.