- withInit(transaction: Transaction, connection: Connection, wallet: Wallet, params: {
authority?: PublicKey;
feeCollectorId: PublicKey;
includeSellerFeeBasisPoints: boolean;
makerFeeBasisPoints: number;
payer?: PublicKey;
paymentManagerName: string;
royaltyFeeShare?: BN;
takerFeeBasisPoints: number;
}): Promise<[Transaction, PublicKey]>
-
Parameters
-
transaction: Transaction
-
connection: Connection
-
wallet: Wallet
-
params: {
authority?: PublicKey;
feeCollectorId: PublicKey;
includeSellerFeeBasisPoints: boolean;
makerFeeBasisPoints: number;
payer?: PublicKey;
paymentManagerName: string;
royaltyFeeShare?: BN;
takerFeeBasisPoints: number;
}
-
Optional
authority?: PublicKey
-
feeCollectorId: PublicKey
-
includeSellerFeeBasisPoints: boolean
-
makerFeeBasisPoints: number
-
Optional
payer?: PublicKey
-
paymentManagerName: string
-
Optional
royaltyFeeShare?: BN
-
takerFeeBasisPoints: number
Returns Promise<[Transaction, PublicKey]>