Class CRCATWallet
Wraps a CRCAT Wallet
public sealed class CRCATWallet : Wallet
- Inheritance
-
CRCATWallet
- Inherited Members
- Extension Methods
Remarks
ctor
Constructors
CRCATWallet(uint, WalletProxy)
Wraps a CRCAT Wallet
public CRCATWallet(uint walletId, WalletProxy walletProxy)
Parameters
walletId
uintThe wallet_id to wrap
walletProxy
WalletProxyWallet RPC proxy to use for communication
Remarks
ctor
Methods
ApprovePending(ulong?, bool?, ulong, CancellationToken)
Moving any "pending approval" CR-CATs into the spendable balance of the wallet.
public Task<IEnumerable<TransactionRecord>> ApprovePending(ulong? minAmountToClaim = null, bool? reusePuzhash = null, ulong fee = 0, CancellationToken cancellationToken = default)
Parameters
minAmountToClaim
ulong?The minimum amount to claim (in units of mojos)
reusePuzhash
bool?fee
ulongFee (in units of mojos)
cancellationToken
CancellationTokenA token to allow the call to be cancelled
Returns
- Task<IEnumerable<TransactionRecord>>
A list of TransactionRecord
Validate(CancellationToken)
public override Task Validate(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationToken- Wraps a CRCAT Wallet
Returns
- Task
True if the wallet is a pooling wallet