withdraw
readonly withdraw!: (
stakeAddress: CanBeStakeCreds,
amount: number | bigint,
redeemer?: CanBeData,
script_or_ref?: Script | CanResolveToUTxO
) => TxBuilderRunner
stakeAddress
:CanBeStakeCreds
,amount
:number
|bigint
,redeemer
?:CanBeData
,script_or_ref
?:Script
|CanResolveToUTxO
withdraws stake rewards from a given reward account.
returns a reference to the same TxBuilderRunner
.