Skip to main content

BabelFeeAgentOptions

export interface BabelFeeAgentOptions {
  address: Address
  assetClass: AssetClass
  minimum: bigint
  price: number
  utxos: TxInput[]
}

Properties

address

address: Address
Address of the Babel fee agent. The assetclass tokens and any spare lovelace are returned to this address.

assetClass

assetClass: AssetClass
AssetClass which can be swapped out of lovelace

minimum

minimum: bigint
Minimum number of AssetClass tokens per returned babel fee utxo.

price

price: number
Price in lovelace per AssetClass (doesn't take into account decimal places)

utxos

utxos: TxInput[]
UTxOs containing only ADA, which can be used to pay for network fees and min-deposit, and can be used as collateral