sarga-cardano-wallet-js-dist/models/api-fee.d.ts
2023-08-08 01:20:23 +02:00

44 lines
2.2 KiB
TypeScript
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* Cardano Wallet Backend API
* <p align=\"right\"><img style=\"position: relative; top: -10em; margin-bottom: -12em;\" width=\"20%\" src=\"https://cardanodocs.com/img/cardano.png\"></img></p>
*
* OpenAPI spec version: 2021.3.4
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
import { WalletswalletIdpaymentfeesAmount } from '.';
/**
*
* @export
* @interface ApiFee
*/
export interface ApiFee {
/**
*
* @type {WalletswalletIdpaymentfeesAmount}
* @memberof ApiFee
*/
estimated_min: WalletswalletIdpaymentfeesAmount;
/**
*
* @type {WalletswalletIdpaymentfeesAmount}
* @memberof ApiFee
*/
estimated_max: WalletswalletIdpaymentfeesAmount;
/**
* A list of minimum coin values that each output in a payment must satisfy. The values themselves depends on two things: - (a) Some updatable protocol parameters fixed by the network. - (b) The nature of the outputs (i.e. the kind of assets it includes). The list is a direct 1:1 mapping of the requested outputs. Said differently, it has the **same number of items** and **items are ordered in the same way** as **requested outputs** are ordered. In the case where there's no explicitly requested outputs (e.g. when calculating fee for delegation), this list is empty. For example, an output containing only `Ada` may require to be of at least `1 Ada`. An output containing only an hypothetical `AppleCoin` may require to also carry a minimum of `1.2 Ada`. Note that no matter what, a minimum coin value is always given in Lovelace / Ada. > This mechanism is used by the protocol to protect against flooding of the network with worthless assets. By requiring a minimum coin value to every UTxO, they are given an intrinsic value indexed itself on the value of Ada.
* @type {Array&lt;WalletswalletIdpaymentfeesAmount&gt;}
* @memberof ApiFee
*/
minimum_coins: Array<WalletswalletIdpaymentfeesAmount>;
/**
*
* @type {WalletswalletIdpaymentfeesAmount}
* @memberof ApiFee
*/
deposit: WalletswalletIdpaymentfeesAmount;
}