TxWithdrawals
@harmoniclabs/cardano-ledger-ts • Docs
@harmoniclabs/cardano-ledger-ts / TxWithdrawals
Class: TxWithdrawals
Implements
ToCborToData
Constructors
new TxWithdrawals()
new TxWithdrawals(
map,network):TxWithdrawals
Parameters
• map: ITxWithdrawals
• network: NetworkT = "mainnet"
Returns
Defined in
src/ledger/TxWithdrawals.ts:70
Properties
map
readonlymap:TxWithdrawalsMapBigInt
Defined in
src/ledger/TxWithdrawals.ts:68
Methods
toCbor()
toCbor():
CborString
Returns
CborString
Implementation of
ToCbor.toCbor
Defined in
src/ledger/TxWithdrawals.ts:138
toCborObj()
toCborObj():
CborObj
Returns
CborObj
Implementation of
ToCbor.toCborObj
Defined in
src/ledger/TxWithdrawals.ts:142
toData()
toData(
version?):DataMap<DataConstr,DataI>
Parameters
• version?: ToDataVersion
Returns
DataMap<DataConstr, DataI>
Implementation of
ToData.toData
Defined in
src/ledger/TxWithdrawals.ts:125
toJson()
toJson():
object
Returns
object
Defined in
src/ledger/TxWithdrawals.ts:177
toTotalWitdrawn()
toTotalWitdrawn():
Value
Returns
Defined in
src/ledger/TxWithdrawals.ts:117
fromCbor()
staticfromCbor(cStr):TxWithdrawals
Parameters
• cStr: CanBeCborString
Returns
Defined in
src/ledger/TxWithdrawals.ts:154
fromCborObj()
staticfromCborObj(cObj):TxWithdrawals
Parameters
• cObj: CborObj
Returns
Defined in
src/ledger/TxWithdrawals.ts:158
fromJson()
staticfromJson(json):TxWithdrawals
Parameters
• json: any