Function createPartialDepositInstruction
- createPartialDepositInstruction(connection, playerPublicKey, shipQuantity, shipMint, shipTokenAccount, programId): Promise<web3.TransactionInstruction>
Parameters
- connection: Connection
- playerPublicKey: PublicKey
- shipQuantity: number
- shipMint: PublicKey
- shipTokenAccount: PublicKey
- programId: PublicKey
Returns Promise<web3.TransactionInstruction>
Provides a transaction instruction which can be used to deposit a specified quantity of ships to an already deployed player's ship staking account.