Function createWithdrawArmsInstruction

  • Withdraw Arms from Escrow - required before withdrawShip

    Parameters

    • connection: Connection

      web3.Connection object

    • playerPublicKey: PublicKey

      Player's public key

    • armsMint: PublicKey

      Arms resource mint address

    • shipMint: PublicKey

      Ship mint address

    • programId: PublicKey

      Deployed program ID for the SCORE program

    Returns Promise<FactoryReturn>