Function withHandleNativePaymentWithRoyalties
- withHandleNativePaymentWithRoyalties(transaction: Transaction, connection: Connection, wallet: Wallet, params: {
buySideTokenAccountId?: PublicKey;
excludeCretors?: string[];
feeCollectorId: PublicKey;
mintId: PublicKey;
paymentAmount: BN;
paymentManagerName: string;
paymentTargetId: PublicKey;
}): Promise<Transaction>
-
Parameters
-
transaction: Transaction
-
connection: Connection
-
wallet: Wallet
-
params: {
buySideTokenAccountId?: PublicKey;
excludeCretors?: string[];
feeCollectorId: PublicKey;
mintId: PublicKey;
paymentAmount: BN;
paymentManagerName: string;
paymentTargetId: PublicKey;
}
-
Optional
buySideTokenAccountId?: PublicKey
-
Optional
excludeCretors?: string[]
-
feeCollectorId: PublicKey
-
mintId: PublicKey
-
paymentAmount: BN
-
paymentManagerName: string
-
paymentTargetId: PublicKey
Returns Promise<Transaction>