Function createUpdateRewardRateInstruction
- createUpdateRewardRateInstruction(connection, updateAuthorityAccount, shipMint, newRewardRatePerSecond, programId): Promise<web3.TransactionInstruction>
Parameters
- connection: Connection
- updateAuthorityAccount: PublicKey
- shipMint: PublicKey
- newRewardRatePerSecond: number
- programId: PublicKey
Returns Promise<web3.TransactionInstruction>
Update a ship's reward rate (Admin only)