Table of Contents

Class CRCATWallet

Namespace
chia.dotnet
Assembly
chia-dotnet.dll

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 uint

The wallet_id to wrap

walletProxy WalletProxy

Wallet 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 ulong

Fee (in units of mojos)

cancellationToken CancellationToken

A token to allow the call to be cancelled

Returns

Task<IEnumerable<TransactionRecord>>

A list of TransactionRecord

Validate(CancellationToken)

Validates that WalletId is a CRCAT

public override Task Validate(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken
Wraps a CRCAT Wallet

Returns

Task

True if the wallet is a pooling wallet