getCloseAccountInstruction
Type Parameters
Type Parameter | Default type |
---|---|
TAccountAccount extends string | - |
TAccountDestination extends string | - |
TAccountOwner extends string | - |
TProgramAddress extends Address | Address <"TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb" > |
Parameters
Parameter | Type |
---|---|
input | CloseAccountInput <TAccountAccount , TAccountDestination , TAccountOwner > |
config? | { programAddress? : TProgramAddress ; } |
config.programAddress? | TProgramAddress |
Returns
CloseAccountInstruction
<TProgramAddress
, TAccountAccount
, TAccountDestination
, Address
<TAccountOwner
> | TransactionSigner
<TAccountOwner
> extends TransactionSigner
<TAccountOwner
> ? IAccountMeta
<TAccountOwner
> & {
role
: READONLY_SIGNER
;
} & IAccountSignerMeta
<TAccountOwner
, TransactionSigner
<TAccountOwner
>> : TAccountOwner
>