TxWithdrawals
@harmoniclabs/cardano-ledger-ts • Docs
@harmoniclabs/cardano-ledger-ts / TxWithdrawals
Class: TxWithdrawals
Implements
ToCbor
ToData
Constructors
new TxWithdrawals()
new TxWithdrawals(
map
,network
):TxWithdrawals
Parameters
• map: ITxWithdrawals
• network: NetworkT
= "mainnet"
Returns
Defined in
src/ledger/TxWithdrawals.ts:70
Properties
map
readonly
map: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()
static
fromCbor(cStr
):TxWithdrawals
Parameters
• cStr: CanBeCborString
Returns
Defined in
src/ledger/TxWithdrawals.ts:154
fromCborObj()
static
fromCborObj(cObj
):TxWithdrawals
Parameters
• cObj: CborObj
Returns
Defined in
src/ledger/TxWithdrawals.ts:158
fromJson()
static
fromJson(json
):TxWithdrawals
Parameters
• json: any