Type Alias: ClawbackInput<TAccountDistributor, TAccountFrom, TAccountTo, TAccountClaimant, TAccountSystemProgram, TAccountTokenProgram>
ts
type ClawbackInput<TAccountDistributor, TAccountFrom, TAccountTo, TAccountClaimant, TAccountSystemProgram, TAccountTokenProgram> = object;Type Parameters
| Type Parameter | Default type |
|---|---|
TAccountDistributor extends string | string |
TAccountFrom extends string | string |
TAccountTo extends string | string |
TAccountClaimant extends string | string |
TAccountSystemProgram extends string | string |
TAccountTokenProgram extends string | string |
Properties
claimant
ts
claimant: TransactionSigner<TAccountClaimant>;Claimant account Anyone can claw back the funds
distributor
ts
distributor: Address<TAccountDistributor>;The [MerkleDistributor].
from
ts
from: Address<TAccountFrom>;Distributor ATA containing the tokens to distribute.
systemProgram?
ts
optional systemProgram: Address<TAccountSystemProgram>;The [System] program.
to
ts
to: Address<TAccountTo>;The Clawback token account.
tokenProgram?
ts
optional tokenProgram: Address<TAccountTokenProgram>;SPL [Token] program.