ConfigSettingContractBandwidthV0 class

Bandwidth related data settings for contracts. We consider bandwidth to only be consumed by the transaction envelopes, hence this concerns only transaction sizes.

Inheritance

Constructors

ConfigSettingContractBandwidthV0({required int ledgerMaxTxsSizeBytes, required int txMaxSizeBytes, required BigInt feeTxSize1Kb})
ConfigSettingContractBandwidthV0.fromStruct(Map<String, dynamic> json)
factory

Properties

feeTxSize1Kb → BigInt
Fee for 1 KB of transaction size
final
hashCode → int
The hash code for this object.
no setterinherited
ledgerMaxTxsSizeBytes → int
Maximum sum of all transaction sizes in the ledger in bytes
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
settingId → ConfigSettingId
finalinherited
txMaxSizeBytes → int
Maximum size in bytes for a transaction
final
variantName → String
no setterinherited

Methods

createLayout({String? property}) → Layout<Map<String, dynamic>>
override
createVariantLayout({String? property}) → Layout<Map<String, dynamic>>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
inherited
toLayoutStruct() → Map<String, dynamic>
override
toString() → String
A string representation of this object.
inherited
toVariantLayoutStruct() → Map<String, dynamic>
inherited
toVariantXDR({String? property}) → BuBytes
inherited
toVariantXDRBase64() → String
inherited
toVariantXDRHex() → String
inherited
toXDR({String? property}) → BuBytes
inherited
toXDRBase64() → String
inherited
toXDRHex() → String
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

layout({String? property}) → Layout<Map<String, dynamic>>
override