FireblocksSdk.Api.GasStation (FireblocksSdk v0.1.4)

View Source

Summary

Functions

Returns gas station settings and ETH balance.

Returns gas station settings and balances for a requested asset.

Configures gas station settings for ETH or given asset.

Functions

get_settings()

Returns gas station settings and ETH balance.

get_settings_by_asset(asset)

Returns gas station settings and balances for a requested asset.

FireblocksSdk.Api.GasStation.get_settings_by_asset("ETH")

Options:

  • asset: String.t()

update_settings(config, idempotentKey \\ "")

Configures gas station settings for ETH or given asset.

FireblocksSdk.Api.GasStation.update_settings([
  assetId: "ETH",
  gasThreshold: "0.005",
  gasCap: "0.003"
])

Options: