PricingInfo
What getPricingInfo returns.
declare const : PricingInfo
. // 'fixed' | 'free' | 'none'
. // 1 basic, 2 enterprise, 4 confidential EVM
.
. // set when schema is 'fixed'
.
.
.| Field | Type | Meaning |
|---|---|---|
schema | 'fixed' | 'free' | 'none' | How the datatoken is priced. 'none' cannot be ordered. |
templateId | number | Datatoken template: 1 basic, 2 enterprise, 4 confidential EVM. |
datatokenAddress | string | The token being priced. |
exchangeId | string | undefined | Fixed-rate exchange id, when schema is 'fixed'. |
baseTokenAddress | string | undefined | What the exchange charges in. |
baseTokenDecimals | number | undefined | Decimals of that token. |
publishMarketFee | PublishingMarketFee | The publisher's market fee. |
Replaces v1's AccessDetails. See pricing.