Function createSettleInstruction
- createSettleInstruction(connection, playerPublicKey, updateAuthorityAccount, shipMint, programId): Promise<web3.TransactionInstruction>
Parameters
- connection: Connection
- playerPublicKey: PublicKey
- updateAuthorityAccount: PublicKey
- shipMint: PublicKey
- programId: PublicKey
Returns Promise<web3.TransactionInstruction>
Returns an instruction that can be used to update the amount of ATLAS in a player's pending rewards and update staked time paid